Prevent test failure when non-English language selected
[pspp-builds.git] / perl-module / automake.mk
index 7fad5e425c3930ea4ba256cb4cf889ce4e452fbf..0b6c1e0879e59576a676b54e00a0494b792b5f00 100644 (file)
@@ -25,17 +25,14 @@ perl-module/pspp-module-config: Makefile
        echo ');' >> $$target ;\
        cp $$target $(top_builddir)/perl-module/pspp-module-config
 
-
-
 perl-module/Makefile: perl-module/Makefile.PL perl-module/pspp-module-config
        cd perl-module && $(PERL) Makefile.PL PREFIX=$(prefix)
 
-
 perl-module/PSPP-Perl-$(VERSION).tar.gz: $(module_sources)
        $(RM) $@
        cd perl-module && $(MAKE) $(AM_MAKEFLAGS) tardist
 
-.PHONY: module-make
+PHONY += module-make
 module-make: perl-module/Makefile
        cd perl-module && $(MAKE) $(AM_MAKEFLAGS)
 
@@ -54,7 +51,7 @@ all-local:
 
 check-local:
        loc=`pwd` ; cd $(top_builddir)/src/.libs ; llp=`pwd` ; cd $$loc ;  \
-       LD_LIBRARY_PATH=$$llp sh -c "cd perl-module && $(MAKE) $(AM_MAKEFLAGS) test"
+       LANG=C LD_LIBRARY_PATH=$$llp sh -c "cd perl-module && $(MAKE) $(AM_MAKEFLAGS) test"
 
 
 clean-local:
@@ -64,7 +61,6 @@ clean-local:
        fi
        $(RM) perl-module/Makefile.old
 
-
 CLEANFILES += \
         perl-module/PSPP-Perl-$(VERSION).tar.gz \
        perl-module/pspp-module-config \