summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-10-23 16:21:23 (EDT)
committer P. J. McDermott <pjm@nac.net>2013-10-23 16:21:23 (EDT)
commitfc3a2c153ba7205556380d44298768afae4729ea (patch)
tree5ff69d23e843360341184e23f26b5b3c458c28a8
parent6d16eee6af1e7620f305fd826111c0794f330fd5 (diff)
Makefile.am: Use PACKAGE_NAME and PACKAGE_VERSION.
-rw-r--r--Makefile.am4
-rw-r--r--src/prokit.sh4
2 files changed, 4 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am
index ddffe4d..10ae841 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -43,8 +43,8 @@ cmds = $$(printf '%s ' $(pkgdatacmd_SCRIPTS) | \
sed -e 's|[^ ]*/\([^ ]*\)\.sm |\1 |g')
textdomain = $$(printf '%s\n' '$(PACKAGE)' | sed -e 's|-|_|g')
do_subst = sed \
- -e 's|[@]PACKAGE[@]|$(PACKAGE)|g' \
- -e 's|[@]VERSION[@]|$(VERSION)|g' \
+ -e 's|[@]PACKAGE_NAME[@]|$(PACKAGE_NAME)|g' \
+ -e 's|[@]PACKAGE_VERSION[@]|$(PACKAGE_VERSION)|g' \
-e 's|[@]SH[@]|$(SH)|g' \
-e 's|[@]pkgdatadir[@]|$(pkgdatadir)|g' \
-e 's|[@]pkgdatacmddir[@]|$(pkgdatacmddir)|g' \
diff --git a/src/prokit.sh b/src/prokit.sh
index d86803d..0418db2 100644
--- a/src/prokit.sh
+++ b/src/prokit.sh
@@ -22,8 +22,8 @@
set -u
# Constant global variables
-PACKAGE_NAME='@PACKAGE@'
-PACKAGE_VERSION='@VERSION@'
+PACKAGE_NAME='@PACKAGE_NAME@'
+PACKAGE_VERSION='@PACKAGE_VERSION@'
PKGDATADIR='@pkgdatadir@'
PKGDATACMDDIR='@pkgdatacmddir@'