all-hook isn't a target recognised by automake, so use all-local instead,
and avoid it clashing with the all-local in perl-module
CLEANFILES =
CLEAN_LOCAL =
+ALL_LOCAL =
ACLOCAL_AMFLAGS = -I m4 -I gl/m4
noinst_LIBRARIES=
noinst_LTLIBRARIES=
uninstall-hook: $(UNINSTALL_DATA_HOOKS)
clean-local: $(CLEAN_LOCAL)
+all-local: $(ALL_LOCAL)
module-make: perl-module/Makefile src/libpspp-core.la
cd perl-module && $(MAKE) $(AM_MAKEFLAGS)
-all-local:
+perl_module_tarball:
if test x"$(top_builddir)" != x"$(top_srcdir)" ; then \
for f in $(module_sources); do \
destdir=`dirname $$f` ;\
fi
$(MAKE) $(AM_MAKEFLAGS) module-make perl-module/PSPP-Perl-$(VERSION).tar.gz
+ALL_LOCAL += perl_module_tarball
+
check-local:
loc=`pwd` ; cd $(top_builddir)/src/.libs ; llp=`pwd` ; cd $$loc ; \
LANG=C LD_LIBRARY_PATH=$$llp sh -c "cd perl-module && $(MAKE) $(AM_MAKEFLAGS) test"
GMOFILES = $(POFILES:.po=.gmo)
-all-hook: $(GMOFILES)
+ALL_LOCAL += $(GMOFILES)
install-data-hook: $(GMOFILES)
for f in $(GMOFILES); do \