# 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 \
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
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
$(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