aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJani Välimaa <wally@mageia.org>2014-12-26 16:05:39 +0200
committerJani Välimaa <wally@mageia.org>2014-12-26 16:05:39 +0200
commit219f2fd975f36296f61b3e7bd977f934d6d479ec (patch)
tree4eba2a22bfe696ab6f3cc533e704d36cc4597531
parente9de9198729a3eb5566e4df3ce32f249f87a97a5 (diff)
downloadconfig-topic/autotools.tar
config-topic/autotools.tar.gz
config-topic/autotools.tar.bz2
config-topic/autotools.tar.xz
config-topic/autotools.zip
Update create_tarball.sh to modify po/Makefile.in.in to not remove .pot and ditribute ittopic/autotools
-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