summaryrefslogtreecommitdiff
path: root/tests/date
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-08-03 08:00:40 +0000
committerJim Meyering <jim@meyering.net>2000-08-03 08:00:40 +0000
commit0037a01cf8be1c1bb5064d50bb65687a6bde1786 (patch)
treebab306acd1abe7c67aeea4b1df5a6966458adc68 /tests/date
parentc60c4a9fdc128e1fc0bb96a8bfbe13790567bb26 (diff)
downloadcoreutils-0037a01cf8be1c1bb5064d50bb65687a6bde1786.tar.xz
.
Diffstat (limited to 'tests/date')
-rw-r--r--tests/date/Makefile.am4
-rw-r--r--tests/date/Makefile.in4
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/date/Makefile.am b/tests/date/Makefile.am
index 990ff567e..c6d132ad7 100644
--- a/tests/date/Makefile.am
+++ b/tests/date/Makefile.am
@@ -38,7 +38,7 @@ TESTS = $x-tests
mk_script = $(srcdir)/../mk-script
$(srcdir)/$x-tests: $(mk_script) Test.pm
- $(PERL) -I. -w -- $(mk_script) ../../src/$x > $@.n
+ $(PERL) -I$(srcdir) -w -- $(mk_script) ../../src/$x > $@.n
mv $@.n $@
chmod 755 $@
@@ -52,6 +52,6 @@ Makefile.am: ../Makefile.am.in Test.pm $(mk_script)
sed -n '1,/^##test-files-begin/p' $< > $@t
tool=`echo $(subdir)|sed 's/^tests.//;s/-test//'`; \
echo "x = $$tool" >> $@t
- $(PERL) -I. -w -- $(mk_script) --list >> $@t
+ $(PERL) -I$(srcdir) -w -- $(mk_script) --list >> $@t
sed -n '/^##test-files-end/,$$p' $< >> $@t
mv $@t $@
diff --git a/tests/date/Makefile.in b/tests/date/Makefile.in
index a5dedefe8..bbf9e490e 100644
--- a/tests/date/Makefile.in
+++ b/tests/date/Makefile.in
@@ -311,7 +311,7 @@ distclean-generic clean-generic maintainer-clean-generic clean \
mostlyclean distclean maintainer-clean
$(srcdir)/$x-tests: $(mk_script) Test.pm
- $(PERL) -I. -w -- $(mk_script) ../../src/$x > $@.n
+ $(PERL) -I$(srcdir) -w -- $(mk_script) ../../src/$x > $@.n
mv $@.n $@
chmod 755 $@
@@ -322,7 +322,7 @@ Makefile.am: ../Makefile.am.in Test.pm $(mk_script)
sed -n '1,/^##test-files-begin/p' $< > $@t
tool=`echo $(subdir)|sed 's/^tests.//;s/-test//'`; \
echo "x = $$tool" >> $@t
- $(PERL) -I. -w -- $(mk_script) --list >> $@t
+ $(PERL) -I$(srcdir) -w -- $(mk_script) --list >> $@t
sed -n '/^##test-files-end/,$$p' $< >> $@t
mv $@t $@