summaryrefslogtreecommitdiff
path: root/tests/Makefile.am.in
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2004-02-11 11:46:34 +0000
committerJim Meyering <jim@meyering.net>2004-02-11 11:46:34 +0000
commita2411e0830d6b1b7905e6b29e5745a5443756087 (patch)
tree341bd2d2621b44ac0b2ba8b876842fa981502de6 /tests/Makefile.am.in
parent188f1dbccf21d4bb0d7d1075afb89d47fdedbac5 (diff)
downloadcoreutils-a2411e0830d6b1b7905e6b29e5745a5443756087.tar.xz
($(srcdir)/Makefile.am): Use more portable
$(srcdir)/../Makefile.am.in, rather than $<. Suggestion from Michael Elizabeth Chastain.
Diffstat (limited to 'tests/Makefile.am.in')
-rw-r--r--tests/Makefile.am.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Makefile.am.in b/tests/Makefile.am.in
index 73f0f10d1..a0a1001e7 100644
--- a/tests/Makefile.am.in
+++ b/tests/Makefile.am.in
@@ -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 $@