summaryrefslogtreecommitdiff
path: root/makepot
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2018-09-23 14:27:34 +0200
committerraveit65 <[email protected]>2018-09-23 14:27:34 +0200
commit67e21ea1fadac11b2aef67e4744901706295a5c0 (patch)
tree6b39b7eca46d0452ab20541017dc523571cd591c /makepot
parent816f751b0706ed18076766019b88c365c28f3f7b (diff)
downloadmate-user-guide-67e21ea1fadac11b2aef67e4744901706295a5c0.tar.bz2
mate-user-guide-67e21ea1fadac11b2aef67e4744901706295a5c0.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 .