From 14021988a2082be9d98e83db04eb07906e4b38a4 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Wed, 23 Oct 2013 10:57:37 -0400 Subject: Makefile.am: Add pkgdata stuff. --- 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/ \ -- cgit v0.9.1