]> xenbits.xensource.com Git - people/aperard/emesinae.git/commitdiff
When running perl -c include the current directory in order to pick up latest modules
authorIan Campbell <ian.campbell@citrix.com>
Tue, 2 Jul 2013 16:02:05 +0000 (17:02 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Tue, 2 Jul 2013 16:02:05 +0000 (17:02 +0100)
Instead of the currently installed ones, which causes problems when changing
the modules API.

Makefile

index 4082c1d19316f84cb166e3ddc79a5596c26c0037..3abc74842b12b006dcdfc3f02da87cba79a4aa0d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -86,7 +86,7 @@ tidy:
 .PHONY: check
 check:
        @set -e; for i in $(SCRIPTS) $(MODULES) $(CGIS) config/emesinae.conf ; do \
-               $(PERL) -c "$$i" ; \
+               $(PERL) -I. -c "$$i" ; \
        done
 
 .PHONY: clean