EXTRA_DIST = OChangeLog ONEWS config.rpath pspp-mode.el
CLEANFILES =
+CLEAN_LOCAL =
ACLOCAL_AMFLAGS = -I m4 -I gl/m4
noinst_LIBRARIES=
noinst_LTLIBRARIES=
uninstall-hook: $(UNINSTALL_DATA_HOOKS)
-
-
+clean-local: $(CLEAN_LOCAL)
LANG=C LD_LIBRARY_PATH=$$llp sh -c "cd perl-module && $(MAKE) $(AM_MAKEFLAGS) test"
-clean-local:
+perl_module_CLEAN:
cd perl-module && $(MAKE) $(AM_MAKEFLAGS) clean || true
if test x"$(top_builddir)" != x"$(top_srcdir)" ; then \
$(RM) $(module_sources) ; \
fi
$(RM) perl-module/Makefile.old
+CLEAN_LOCAL += perl_module_CLEAN
+
CLEANFILES += \
perl-module/PSPP-Perl-$(VERSION).tar.gz \
perl-module/pspp-module-config \
tests_data_datasheet_test_SOURCES = \
tests/data/datasheet-test.c
-tests_data_datasheet_test_LDADD = src/libpspp-core.la @LIBINTL@
+tests_data_datasheet_test_LDADD = gl/libgl.la src/libpspp-core.la @LIBINTL@
+tests_data_datasheet_test_CFLAGS = $(AM_CFLAGS)
+
+# This seems to be necessary as the libtool artifacts aren't removed
+# Automake bug ?
+tests_data_datasheet_test_CLEAN:
+ $(RM) -r tests/data
+
+CLEAN_LOCAL += tests_data_datasheet_test_CLEAN
tests_libpspp_ll_test_SOURCES = \
src/libpspp/ll.c \