diff options
author | Jim Meyering <jim@meyering.net> | 1997-07-04 15:01:06 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1997-07-04 15:01:06 +0000 |
commit | b541bff3de0f8bb9bdc0a11813f667123abb6d9e (patch) | |
tree | 05ee787c2e892ca0f6a669091be0a4a3ca82557b /tests/factor | |
parent | bea4748f5c8fce9ee7f01dcbe505ccf25d53f141 (diff) | |
download | coreutils-b541bff3de0f8bb9bdc0a11813f667123abb6d9e.tar.xz |
.
Diffstat (limited to 'tests/factor')
-rw-r--r-- | tests/factor/Makefile.in | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/tests/factor/Makefile.in b/tests/factor/Makefile.in index 72b86a313..e055dd3f1 100644 --- a/tests/factor/Makefile.in +++ b/tests/factor/Makefile.in @@ -130,7 +130,7 @@ default: all $(srcdir)/Makefile.in: @MAINT@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) cd $(top_srcdir) && $(AUTOMAKE) --gnits tests/factor/Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) cd $(top_builddir) \ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status @@ -232,26 +232,27 @@ mostlyclean-generic distclean-generic clean-generic \ maintainer-clean-generic clean mostlyclean distclean maintainer-clean -$x-tests: @MAINT@mk-script Test.pm +$(srcdir)/$x-tests: @MAINT@mk-script Test.pm ./mk-script ../../src/$x > $@.n mv $@.n $@ chmod 755 $@ +mk-script: ../../config.status + .pl: rm -f $@ $@.tmp $(editpl) $< > $@.tmp chmod +x-w $@.tmp mv $@.tmp $@ -@MAINT@rebuild-check: Test.pm mk-script -@MAINT@ rb=rb-check; rm -f $rb; \ -@MAINT@ m_template=../Makefile.am.in; \ -@MAINT@ sed -n '1,/^##test-files-begin/p' $$m_template > $$rb; \ +@MAINT@Makefile.am: ../Makefile.am.in Test.pm mk-script +@MAINT@ rm -f $@ $@t +@MAINT@ sed -n '1,/^##test-files-begin/p' $< > $@t @MAINT@ tool=`echo $(subdir)|sed 's/^tests.//;s/-test//'`; \ -@MAINT@ echo "x = $$tool" >> $$rb; \ -@MAINT@ ./mk-script --list >> $$rb; \ -@MAINT@ sed -n '/^##test-files-end/,$$p' $$m_template >> $$rb; \ -@MAINT@ diff -u Makefile.am $$rb && echo ok || echo no +@MAINT@ echo "x = $$tool" >> $@t +@MAINT@ ./mk-script --list >> $@t +@MAINT@ sed -n '/^##test-files-end/,$$p' $< >> $@t +@MAINT@ mv $@t $@ # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. |