summaryrefslogtreecommitdiff
path: root/makepot
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2018-09-23 15:00:26 +0200
committerraveit65 <[email protected]>2018-09-23 15:00:26 +0200
commitb29b5fc4a2a9f65a08527f9e746a04b9a62b1a54 (patch)
treecebca743e064d037fae24f95a8b56d034c8544e5 /makepot
parent72b3f44fd9b4204deaa29affddfe55e907913a62 (diff)
downloadmate-user-guide-b29b5fc4a2a9f65a08527f9e746a04b9a62b1a54.tar.bz2
mate-user-guide-b29b5fc4a2a9f65a08527f9e746a04b9a62b1a54.tar.xz
tx: simplify source (.pot) file generation
Diffstat (limited to 'makepot')
-rwxr-xr-xmakepot5
1 files changed, 4 insertions, 1 deletions
diff --git a/makepot b/makepot
index 160890f..63248d3 100755
--- a/makepot
+++ b/makepot
@@ -1,7 +1,10 @@
#! /bin/sh
PACKAGE=mate-user-guide;
+PACKAGE_CONTENT=mate-user-guide-content;
+# normal translations for the package
make -C po $PACKAGE.pot && mv po/$PACKAGE.pot .
-make -C $PACKAGE $PACKAGE.pot
+# translations for the quide itself
+make -C $PACKAGE $PACKAGE_CONTENT.pot && mv $PACKAGE/$PACKAGE_CONTENT.pot .