[Po4a-devel][CVS] po4a/po/pod Makefile,1.12,1.13

Martin Quinson po4a-devel@lists.alioth.debian.org
Fri, 16 Jul 2004 00:45:43 +0000


Update of /cvsroot/po4a/po4a/po/pod
In directory haydn:/tmp/cvs-serv25991/po/pod

Modified Files:
	Makefile 
Log Message:
Explicitely call perl <script name> since Module::build is dumb enough for not chmod +x the content of @scripts

Index: Makefile
===================================================================
RCS file: /cvsroot/po4a/po4a/po/pod/Makefile,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- Makefile	29 Jun 2004 19:16:57 -0000	1.12
+++ Makefile	16 Jul 2004 00:45:41 -0000	1.13
@@ -21,7 +21,7 @@
 
 po4a-pod.pot: $(PATHFILES)
 	@echo TRANSLATION=$(TRANSLATIONS)
-	@PERL5LIB=../../lib ../../po4a-updatepo -f pod $(foreach file,$(PATHFILES),-m $(file)) -p $@
+	@PERL5LIB=../../lib perl ../../po4a-updatepo -f pod $(foreach file,$(PATHFILES),-m $(file)) -p $@
 
 %.po: po4a-pod.pot
 	@echo -n "Merging po4a-pod.pot and $@"
@@ -42,7 +42,7 @@
 define TEMPLATES
 
 LocalePo4a%.$(1).pod: ../../lib/Locale/Po4a/% $(1).po
-	@PERL5LIB=../../lib ../../po4a-translate -f pod -v -m $$< -p $(1).po -l $$@
+	@PERL5LIB=../../lib perl ../../po4a-translate -f pod -v -m $$< -p $(1).po -l $$@
 	@if [ -e $$@ ] ; then \
 	  mv -f $$@ `echo $$@| \
 	            sed 's/LocalePo4a/Locale::Po4a::/' | \
@@ -50,10 +50,10 @@
 	fi
 
 %.$(1).pod: ../../% $(1).po
-	@PERL5LIB=../../lib ../../po4a-translate -f pod -v -m $$< -p $(1).po -l $$@ || true
+	@PERL5LIB=../../lib perl ../../po4a-translate -f pod -v -m $$< -p $(1).po -l $$@ || true
 
 %.$(1).pod: ../../doc/%.pod $(1).po
-	@PERL5LIB=../../lib ../../po4a-translate -f pod -v -m $$< -p $(1).po -l $$@ || true
+	@PERL5LIB=../../lib perl ../../po4a-translate -f pod -v -m $$< -p $(1).po -l $$@ || true
 
 endef
 ##### END TEMPLATES #####