aboutsummaryrefslogtreecommitdiffstats
path: root/create_tarball.sh
diff options
context:
space:
mode:
Diffstat (limited to 'create_tarball.sh')
-rwxr-xr-xcreate_tarball.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/create_tarball.sh b/create_tarball.sh
index aace864..c053b30 100755
--- a/create_tarball.sh
+++ b/create_tarball.sh
@@ -1,6 +1,15 @@
#!/bin/bash
intltoolize --force --copy
+
+#don't remove .pot file on clean
+sed -i -e '/^mostlyclean:/{n;s/$(GETTEXT_PACKAGE).pot //}' po/Makefile.in.in
+
+#distribute .pot
+sed -i -e 's/\(^DISTFILES = .*\)/\1 $(GETTEXT_PACKAGE).pot/' po/Makefile.in.in
+
autoreconf -vfi
+
./configure
+
make distcheck