diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 729f4bf3d..d7dfc761a 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -19,7 +19,7 @@ noinst_HEADERS = \ chown-core.h fs.h \ 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 INCLUDES = -I.. -I$(srcdir) -I$(top_srcdir)/lib -I../lib @@ -192,6 +192,13 @@ false.c: true.c @chmod a-w $@-t mv $@-t $@ +BUILT_SOURCES += fs.h +fs.h: stat.c extract-magic + rm -f $@ + $(PERL) $(srcdir)/extract-magic $(srcdir)/stat.c > $@t + @chmod a-w $@t + mv $@t $@ + MAINTAINERCLEANFILES = $(BUILT_SOURCES) all_programs = \ |