summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2015-12-07 00:15:41 (EST)
committer P. J. McDermott <pj@pehjota.net>2015-12-07 00:15:41 (EST)
commit40bdedebfd91f9fc4572d106edab4b17045c2850 (patch)
tree307ca9b954cc3282d00cd01ad6d2d69022de4e28
parentf2e1862b3228e44a8b8fe272a0d9b118f4970af2 (diff)
Makefile.am: Move and capitalize textdomain
-rw-r--r--Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index cde00b1..f1643d6 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -19,6 +19,7 @@
# <http://www.gnu.org/licenses/>.
MANUAL = ProteanOS Development Kit Manual
+TEXTDOMAIN = $$(printf '%s\n' '$(PACKAGE)' | sed -e 's|-|_|g')
bin_PROGRAMS = prokit
@@ -27,7 +28,7 @@ prokit_SHPPFLAGS = \
-DPKGDATADIR="$(pkgdatadir)" \
-DLOCALEDIR="$(localedir)" \
-DPKGLOCALSTATEDIR="$(pkglocalstatedir)" \
- -DTEXTDOMAIN="$(textdomain)"
+ -DTEXTDOMAIN="$(TEXTDOMAIN)"
prokit_LDADD = $(prokit_SOURCES:.sh=.sho)
prokit_LINK = '$(srcdir)/tools/shld.sh' -I '$(SH)' -o $@ config.sh
@@ -59,7 +60,6 @@ EXTRA_DIST = \
SUFFIXES = .sh .sho .1in .1 .8in .8 .ms
-textdomain = $$(printf '%s\n' '$(PACKAGE)' | sed -e 's|-|_|g')
do_subst = sed \
-e 's|[@]PACKAGE_NAME[@]|$(PACKAGE_NAME)|g' \
-e 's|[@]PACKAGE_VERSION[@]|$(PACKAGE_VERSION)|g' \