perl-module/Makefile: perl-module/Makefile.PL perl-module/pspp-module-config
cd perl-module && $(PERL) Makefile.PL PREFIX=$(prefix)
perl-module/Makefile: perl-module/Makefile.PL perl-module/pspp-module-config
cd perl-module && $(PERL) Makefile.PL PREFIX=$(prefix)
-perl-module/lib/pspp-vers.pl: src/libpspp/version.c
- mkdir -p perl-module/lib
- $(GREP) '^\$$VERSION' $(top_builddir)/src/libpspp/version.c | $(SED) -e 's/VERSION/PSPP::VERSION/' > $@
+PHONY += module-make
+module-make: perl-module/Makefile src/libpspp-core.la
+ cd perl-module && $(MAKE) $(AM_MAKEFLAGS)
if test x"$(top_builddir)" != x"$(top_srcdir)" ; then \
for f in $(module_sources); do \
destdir=`dirname $$f` ;\
mkdir -p $$destdir ;\
if test "$(top_srcdir)/$$f" -nt "$(top_builddir)/$$f" ; then \
cp $(top_srcdir)/$$f $$destdir ; \
if test x"$(top_builddir)" != x"$(top_srcdir)" ; then \
for f in $(module_sources); do \
destdir=`dirname $$f` ;\
mkdir -p $$destdir ;\
if test "$(top_srcdir)/$$f" -nt "$(top_builddir)/$$f" ; then \
cp $(top_srcdir)/$$f $$destdir ; \
if test x"$(top_builddir)" != x"$(top_srcdir)" ; then \
$(RM) $(module_sources) ; \
fi
$(RM) perl-module/Makefile.old
if test x"$(top_builddir)" != x"$(top_srcdir)" ; then \
$(RM) $(module_sources) ; \
fi
$(RM) perl-module/Makefile.old