summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-04-10 19:33:03 +0000
committerJim Meyering <jim@meyering.net>2003-04-10 19:33:03 +0000
commit3d98688378fa94b81a139debd171bdcd3e5250f0 (patch)
tree5f0ebab634be53678401da3beb55d496deed9467
parent45c0089f1242930d95e0edacb1640fd822ff13f1 (diff)
downloadcoreutils-3d98688378fa94b81a139debd171bdcd3e5250f0.tar.xz
.
-rw-r--r--man/Makefile.in2
-rw-r--r--src/Makefile.in9
2 files changed, 8 insertions, 3 deletions
diff --git a/man/Makefile.in b/man/Makefile.in
index 8c031e2d5..6f2122958 100644
--- a/man/Makefile.in
+++ b/man/Makefile.in
@@ -479,7 +479,7 @@ check-local: check-x-vs-1
# corresponding .1 file in the definition of $(dist_man_MANS) above.
.PHONY: check-x-vs-1
check-x-vs-1:
- PATH=../src$(PATH_SEPARATOR)$$PATH; export PATH; \
+ PATH=../src$(PATH_SEPARATOR)$$PATH; export PATH; \
t=ls-files.$$$$; \
(cd $(srcdir) && ls -1 *.x) | sed 's/\.x$$//' | sort > $$t; \
echo $(dist_man_MANS) | fmt -w1 | sed 's/\.1$$//' | sort -u \
diff --git a/src/Makefile.in b/src/Makefile.in
index 546c7bf29..cb193760b 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -175,7 +175,7 @@ noinst_HEADERS = \
wheel.h wheel-size.h
EXTRA_DIST = dcgen dircolors.hin tac-pipe.c \
- groups.sh nohup.sh wheel-gen.pl
+ groups.sh nohup.sh wheel-gen.pl extract-magic
CLEANFILES = $(SCRIPTS) su
@@ -255,7 +255,7 @@ editpl = sed -e 's,@''PERL''@,$(PERL),g'
localedir = $(datadir)/locale
-BUILT_SOURCES = localedir.h dircolors.h wheel-size.h wheel.h false.c
+BUILT_SOURCES = localedir.h dircolors.h wheel-size.h wheel.h false.c fs.h
DISTCLEANFILES = localedir.h
wheel_size = 5
@@ -1534,6 +1534,11 @@ false.c: true.c
$(srcdir)/true.c > $@-t
@chmod a-w $@-t
mv $@-t $@
+fs.h: stat.c extract-magic
+ rm -f $@
+ $(PERL) $(srcdir)/extract-magic $(srcdir)/stat.c > $@t
+ @chmod a-w $@t
+ mv $@t $@
# Ensure that the list of programs in README matches the list
# of programs we can build.
check: check-README check-misc