($(DVIS), $(INFO_DEPS)): Depend on $(EXTRA_DIST).
authorJim Meyering <jim@meyering.net>
Mon, 21 May 2001 12:34:57 +0000 (12:34 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 21 May 2001 12:34:57 +0000 (12:34 +0000)
(DISABLED_constants.texi): New rule -- disabled for now.

doc/Makefile.am

index 3a584bd..c9d2200 100644 (file)
@@ -13,6 +13,21 @@ EXTRA_DIST = perm.texi getdate.texi constants.texi doclicense.texi
 # old systems.
 MAKEINFO = makeinfo --no-split
 
+# Remove `DISABLED_' when fileutils, textutils, and sh-utils have
+# all been merged into one package.
+DISABLED_constants.texi: $(top_srcdir)/src/tail.c
+       LC_ALL=C \
+       sed -n -e 's/^#define \(DEFAULT_MAX[_A-Z]*\) \(.*\)/@set \1 \2/p' \
+         $(top_srcdir)/src/tail.c > t-$@
+       mv t-$@ $@
+
+# Uncomment this when fileutils, textutils, and sh-utils have
+# all been merged into one package.
+# MAINTAINERCLEANFILES = constants.texi
+
+$(DVIS): $(EXTRA_DIST)
+$(INFO_DEPS): $(EXTRA_DIST)
+
 # List words/regexps here that should not appear in the texinfo documentation.
 check-texinfo:
        grep timezone $(srcdir)/*.texi && exit 1 || :