From fc3a2c153ba7205556380d44298768afae4729ea Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Wed, 23 Oct 2013 16:21:23 -0400 Subject: Makefile.am: Use PACKAGE_NAME and PACKAGE_VERSION. --- 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@' -- cgit v0.9.1