fix make check to use $srcdir

This commit is contained in:
Vitor Santos Costa
2010-08-03 12:59:27 +01:00
parent 90ffa99878
commit 00a157b8ac
4 changed files with 5 additions and 5 deletions

View File

@@ -170,8 +170,8 @@ html-install::
$(INSTALL_DATA) sgml.html $(DESTDIR)$(PKGDOC) $(INSTALL_DATA) sgml.html $(DESTDIR)$(PKGDOC)
check:: check::
$(PL) -f Test/test.pl -g test,halt $(PL) -f $(srcdir)/Test/test.pl -g test,halt
$(PL) -f Test/wrtest.pl -g test,halt $(PL) -f $(srcdir)/Test/wrtest.pl -g test,halt
uninstall:: uninstall::
(cd $(PLBASE)/lib/$(PLARCH) && rm -f $(TARGETS)) (cd $(PLBASE)/lib/$(PLARCH) && rm -f $(TARGETS))

View File

@@ -140,7 +140,7 @@ uninstall::
################################################################ ################################################################
check:: check::
$(PL) -q -f test_zlib.pl -g test_zlib,halt -t 'halt(1)' $(PL) -q -f $(srcdir)/test_zlib.pl -g test_zlib,halt -t 'halt(1)'
################################################################ ################################################################
# Documentation # Documentation