summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.am15
1 files changed, 5 insertions, 10 deletions
diff --git a/Makefile.am b/Makefile.am
index de6c6ad..dbefc5c 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -35,9 +35,13 @@ SUFFIXES = .sh .sho .1in .1 .3in .3 .ms
SHOBJEXT = sho
SHPPFLAGS = \
-DPKGLIBDIR="$(pkgdatadir)" \
+ -DBINDIR="$(bindir)" \
+ -DLIBDATADIR="$(libdatadir)" \
-DDATADIR="$(datadir)" \
-DLOCALEDIR="$(localedir)" \
-DSYSCONFDIR="$(sysconfdir)" \
+ -DHELPERDIR="$(helperdir)" \
+ -DOPKG="$(OPKG)" \
-DMETADATA="$(METADATA)"
SHSOEXT = .shso
LINK = printf "PACKAGE_VERSION='%s'\n" "$(PACKAGE_VERSION_GIT)" | \
@@ -80,16 +84,7 @@ EXTRA_DIST = \
do_subst = sed \
-e 's|@[@]PACKAGE_NAME[@]@|$(PACKAGE_NAME)|g' \
-e 's|@[@]PACKAGE_VERSION[@]@|$(PACKAGE_VERSION)|g' \
- -e 's|@[@]PACKAGE_DESCRIPTION[@]@|$(MANUAL)|g' \
- -e 's|@[@]BINDIR[@]@|$(bindir)|g' \
- -e 's|@[@]LIBDATADIR[@]@|$(libdatadir)|g' \
- -e 's|@[@]DATADIR[@]@|$(datadir)|g' \
- -e 's|@[@]LOCALEDIR[@]@|$(localedir)|g' \
- -e 's|@[@]SYSCONFDIR[@]@|$(sysconfdir)|g' \
- -e 's|@[@]HELPERDIR[@]@|$(helperdir)|g' \
- -e 's|@[@]SH[@]@|$(SH)|g' \
- -e 's|@[@]OPKG[@]@|$(OPKG)|g' \
- -e 's|@[@]METADATA[@]@|$(METADATA)|g'
+ -e 's|@[@]PACKAGE_DESCRIPTION[@]@|$(MANUAL)|g'
all-local: $(locale_MESSAGES)