Don't build the perl module if cross compiling.
[pspp-builds.git] / perl-module / automake.mk
index 7fad5e425c3930ea4ba256cb4cf889ce4e452fbf..f3bfdaf33711137b6a884c4a90b7e1f57e579216 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)
 
@@ -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 \