summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2014-03-03 19:44:49 (EST)
committer P. J. McDermott <pjm@nac.net>2014-03-03 19:44:49 (EST)
commit1d7a2b92aa55410cc94f8b8161065f702dd5ba4f (patch)
treeda7d9240250d0a7667c17ff87d2ed3dbe2550b00
parent5fb639a7387d0dd3ca479ec88ed58f8b7766483d (diff)
Makefile.am: Add "opkhelper" helper file.
-rw-r--r--Makefile.am8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index cc61010..d5760ea 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -23,17 +23,21 @@ include $(top_srcdir)/locale/local.mk
include $(top_srcdir)/archtab/local.mk
include $(top_srcdir)/tests/local.mk
+helper_sources = opkhelper.sh
+
bin_SCRIPTS = $(bin_sources:.sh=)
pkgdata_SCRIPTS = $(pkgdata_sources:.sh=.sm)
pkgdatabuildsystem_SCRIPTS = $(pkgdatabuildsystem_sources:.sh=.sm)
man1_MANS = $(man1_sources:.1in=.1)
locale_MESSAGES = $(locale_sources:.sh=.ms)
+helper_SCRIPTS = $(helper_sources:.sh=)
CLEANFILES = \
$(bin_SCRIPTS) \
$(pkgdata_SCRIPTS) \
$(pkgdatabuildsystem_SCRIPTS) \
$(man1_MANS) \
- $(locale_MESSAGES)
+ $(locale_MESSAGES) \
+ $(helper_SCRIPTS)
pkgdatabuildsystemdir = $(pkgdatadir)/buildsystem
archtabdir = $(pkgdatadir)/archtab
EXTRA_DIST = \
@@ -48,6 +52,7 @@ EXTRA_DIST = \
$(archtab_sources) \
$(tests) \
tests/testlib.sh \
+ $(helper_sources) \
scripts/changelog2news.sh
SUFFIXES = .sh .sm .1in .1 .ms
@@ -59,6 +64,7 @@ do_subst = sed \
-e 's|[@]PACKAGE_VERSION[@]|$(PACKAGE_VERSION)|g' \
-e 's|[@]SH[@]|$(SH)|g' \
-e 's|[@]multiarch_libdir[@]|$(multiarch_libdir)|g' \
+ -e 's|[@]bindir[@]|$(bindir)|g' \
-e 's|[@]pkgdatadir[@]|$(pkgdatadir)|g' \
-e 's|[@]localedir[@]|$(localedir)|g' \
-e 's|[@]archtabdir[@]|$(archtabdir)|g'