]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
tests: Test "make dist" in autopoint test
authorDaiki Ueno <ueno@gnu.org>
Mon, 16 Jun 2014 08:42:25 +0000 (17:42 +0900)
committerDaiki Ueno <ueno@gnu.org>
Mon, 16 Jun 2014 08:43:25 +0000 (17:43 +0900)
* autopoint-3: Run "make dist" after "make"; add a workaround for
a bug in 0.19 and 0.19.1, where intl/ChangeLog is required but
missing in the archive.

gettext-tools/tests/ChangeLog
gettext-tools/tests/autopoint-3

index 237d18b0bf711e71f2e6312a5c4d5db926bd5576..d78b278802a8a5b3862b00c6c94f6a34d76b2f0c 100644 (file)
@@ -1,3 +1,10 @@
+2014-06-16  Daiki Ueno  <ueno@gnu.org>
+
+       tests: Test "make dist" in autopoint test
+       * autopoint-3: Run "make dist" after "make"; add a workaround for
+       a bug in 0.19 and 0.19.1, where intl/ChangeLog is required but
+       missing in the archive.
+
 2014-06-10  Daiki Ueno  <ueno@gnu.org>
 
        * gettext 0.19.1 released.
index a026105b49708db2b5ccccb848645ffe77b108bc..9b519128db70b9922fa1054f713cd1f8125170c9 100755 (executable)
@@ -120,6 +120,14 @@ ${CONFIG_SHELL} ./configure --with-included-gettext >/dev/null 2>/dev/null \
 # intl/plural.c in that case.
 test -f intl/plural.c && touch intl/plural.c
 
+# Workaround for a bug in 0.19 and 0.19.1: ChangeLog is missing in the archive.
+case "$required_gettext_version" in
+  0.19 | 0.19.1)
+    test -f intl/ChangeLog || : > intl/ChangeLog
+    ;;
+esac
+
 ${MAKE} >/dev/null 2>/dev/null || exit 1
+${MAKE} dist >/dev/null 2>/dev/null || exit 1
 
 exit 0