]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
($(srcdir)/Makefile.am): Use more portable
authorJim Meyering <jim@meyering.net>
Wed, 11 Feb 2004 11:46:34 +0000 (11:46 +0000)
committerJim Meyering <jim@meyering.net>
Wed, 11 Feb 2004 11:46:34 +0000 (11:46 +0000)
$(srcdir)/../Makefile.am.in, rather than $<.
Suggestion from Michael Elizabeth Chastain.

tests/Makefile.am.in

index 73f0f10d16ce4b8378565bfc8cc0f897d908f9e6..a0a1001e7ea5b8217aec14b78ab306b6f041b441 100644 (file)
@@ -23,9 +23,9 @@ check: $(maint_gen)
 
 $(srcdir)/Makefile.am: ../Makefile.am.in Test.pm $(mk_script)
        rm -f $@ $@t
-       sed -n '1,/^##test-files-begin/p' $< > $@t
+       sed -n '1,/^##test-files-begin/p' $(srcdir)/../Makefile.am.in > $@t
        tool=`echo $(subdir)|sed 's/^tests.//;s/-test//'`; \
          echo "x = $$tool" >> $@t
        $(PERL) -I$(srcdir) -w -- $(mk_script) $(srcdir) --list >> $@t
-       sed -n '/^##test-files-end/,$$p' $< >> $@t
+       sed -n '/^##test-files-end/,$$p' $(srcdir)/../Makefile.am.in >> $@t
        mv $@t $@