From 219f2fd975f36296f61b3e7bd977f934d6d479ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jani=20V=C3=A4limaa?= Date: Fri, 26 Dec 2014 16:05:39 +0200 Subject: Update create_tarball.sh to modify po/Makefile.in.in to not remove .pot and ditribute it --- create_tarball.sh | 9 +++++++++ 1 file changed, 9 insertions(+) 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 -- cgit v1.2.1