summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.am12
1 files changed, 8 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am
index 286a770..b8b88ea 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -18,10 +18,14 @@
include $(top_srcdir)/src/local.mk
bin_SCRIPTS = $(bin_sources:.sh=)
-CLEANFILES = $(bin_SCRIPTS)
+pkgdata_SCRIPTS = $(pkgdata_sources:.sh=.sm)
+CLEANFILES = \
+ $(bin_SCRIPTS) \
+ $(pkgdata_SCRIPTS)
EXTRA_DIST = \
autogen.sh \
- $(bin_sources)
+ $(bin_sources) \
+ $(pkgdata_sources)
SUFFIXES = .sh
@@ -29,10 +33,10 @@ do_subst = sed \
-e 's|[@]PACKAGE[@]|$(PACKAGE)|g' \
-e 's|[@]VERSION[@]|$(VERSION)|g' \
-e 's|[@]SH[@]|$(SH)|g' \
- -e 's|[@]libdir[@]|$(libdir)|g'
+ -e 's|[@]pkgdatadir[@]|$(pkgdatadir)|g'
in-place:
- $(MAKE) $(AM_MAKEFLAGS) libdir=lib all-am
+ $(MAKE) $(AM_MAKEFLAGS) pkgdatadir=lib all-am
reallyclean: distclean
rm -Rf $(srcdir)/aclocal.m4 $(srcdir)/autom4te.cache/ \