mirror of
https://github.com/coreutils/coreutils.git
synced 2024-12-13 11:55:02 +08:00
($(srcdir)/Makefile.am): Use more portable
$(srcdir)/../Makefile.am.in, rather than $<. Suggestion from Michael Elizabeth Chastain.
This commit is contained in:
parent
188f1dbccf
commit
a2411e0830
@ -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 $@
|
||||
|
Loading…
Reference in New Issue
Block a user