summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-04-05 18:04:06 +0000
committerJim Meyering <jim@meyering.net>2003-04-05 18:04:06 +0000
commit0622704dce606dad3d3092909ad4b01ecf5f28db (patch)
tree75e2ee89e03d69149a5309f05b3fe75d8e13df25 /doc
parent4cfe78b8a0d3a607c0408cf6b82bb82d23224a92 (diff)
downloadcoreutils-0622704dce606dad3d3092909ad4b01ecf5f28db.tar.xz
.
Diffstat (limited to 'doc')
-rw-r--r--doc/Makefile.in11
1 files changed, 4 insertions, 7 deletions
diff --git a/doc/Makefile.in b/doc/Makefile.in
index 39a62402c..493a5009c 100644
--- a/doc/Makefile.in
+++ b/doc/Makefile.in
@@ -160,6 +160,8 @@ target_alias = @target_alias@
info_TEXINFOS = coreutils.texi
EXTRA_DIST = perm.texi getdate.texi constants.texi doclicense.texi
+
+MAINTAINERCLEANFILES = constants.texi
subdir = doc
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
@@ -344,6 +346,7 @@ distclean-generic:
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
+ -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
clean: clean-am
clean-am: clean-generic mostlyclean-am
@@ -426,18 +429,12 @@ uninstall-am: uninstall-info-am
pdf-am ps ps-am uninstall uninstall-am uninstall-info-am
-# Remove `DISABLED_' when fileutils, textutils, and sh-utils have
-# all been merged into one package.
-DISABLED_constants.texi: $(top_srcdir)/src/tail.c
+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)