From: Bruno Haible Date: Tue, 13 Nov 2001 12:50:48 +0000 (+0000) Subject: Rename files, to avoid havoc with GNU make. X-Git-Tag: v0.11~300 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16711500942f3226e5f79631e4f5cc86ba94f042;p=thirdparty%2Fgettext.git Rename files, to avoid havoc with GNU make. --- diff --git a/tests/ChangeLog b/tests/ChangeLog index 222c4482d..1529a6c94 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,3 +1,15 @@ +2001-11-11 Bruno Haible + + Avoid an implicit pattern rule ("%.out : %") in GNU make. + * msguniq-a.in: Renamed from msguniq-1.in. + * msguniq-a.out: Renamed from msguniq-1.out. + * Makefile.am (EXTRA_DIST): Distribute msguniq-a.in, msguniq-a.out + instead of msguniq-1.in, msguniq-1.out. + * msgcomm-23: Update. + * msguniq-1: Likewise. + * msguniq-2: Update. Make it work if $builddir != $srcdir. + * msguniq-3: Likewise. + 2001-11-11 Bruno Haible * Makefile.am (xg-test1.ok.po): Pass --no-location to xgettext. diff --git a/tests/Makefile.am b/tests/Makefile.am index 98ae419c1..68bc49a57 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -42,7 +42,7 @@ TESTS = gettext-1 gettext-2 \ format-ycp-1 format-ycp-2 \ plural-1 plural-2 -EXTRA_DIST = $(TESTS) test.mo xg-test1.ok.po msguniq-1.in msguniq-1.out +EXTRA_DIST = $(TESTS) test.mo xg-test1.ok.po msguniq-a.in msguniq-a.out XGETTEXT = ../src/xgettext diff --git a/tests/msgcomm-23 b/tests/msgcomm-23 index 8a76edd18..9bc0b4a15 100755 --- a/tests/msgcomm-23 +++ b/tests/msgcomm-23 @@ -6,15 +6,15 @@ tmpfiles="" trap 'rm -fr $tmpfiles' 1 2 3 15 tmpfiles="$tmpfiles mcomm-23.in1 mcomm-23.in2" -cp ${top_srcdir}/tests/msguniq-1.in mcomm-23.in1 -cp ${top_srcdir}/tests/msguniq-1.in mcomm-23.in2 +cp ${top_srcdir}/tests/msguniq-a.in mcomm-23.in1 +cp ${top_srcdir}/tests/msguniq-a.in mcomm-23.in2 tmpfiles="$tmpfiles mcomm-23.out" : ${MSGCOMM=msgcomm} ${MSGCOMM} -w 1000 mcomm-23.in1 mcomm-23.in2 -o mcomm-23.out : ${DIFF=diff} -${DIFF} ${top_srcdir}/tests/msguniq-1.out mcomm-23.out +${DIFF} ${top_srcdir}/tests/msguniq-a.out mcomm-23.out result=$? rm -fr $tmpfiles diff --git a/tests/msguniq-1 b/tests/msguniq-1 index af51f82f8..c466cadb2 100755 --- a/tests/msguniq-1 +++ b/tests/msguniq-1 @@ -3,12 +3,12 @@ tmpfiles="" trap 'rm -fr $tmpfiles' 1 2 3 15 -tmpfiles="$tmpfiles muniq-1.out" +tmpfiles="$tmpfiles msguniq-1.out" : ${MSGUNIQ-msguniq} -${MSGUNIQ} -w 1000 ${top_srcdir}/tests/msguniq-1.in -o muniq-1.out +${MSGUNIQ} -w 1000 ${top_srcdir}/tests/msguniq-a.in -o msguniq-1.out : ${DIFF=diff} -${DIFF} ${top_srcdir}/tests/msguniq-1.out muniq-1.out +${DIFF} ${top_srcdir}/tests/msguniq-a.out msguniq-1.out result=$? rm -fr $tmpfiles diff --git a/tests/msguniq-2 b/tests/msguniq-2 index 80fda1edc..ad514868a 100755 --- a/tests/msguniq-2 +++ b/tests/msguniq-2 @@ -5,7 +5,7 @@ trap 'rm -fr $tmpfiles' 1 2 3 15 tmpfiles="$tmpfiles msguniq-2.out" : ${MSGUNIQ-msguniq} -${MSGUNIQ} -w 1000 -u msguniq-1.in -o msguniq-2.out +${MSGUNIQ} -w 1000 -u ${top_srcdir}/tests/msguniq-a.in -o msguniq-2.out tmpfiles="$tmpfiles msguniq-2.ok" cat <<\EOF > msguniq-2.ok diff --git a/tests/msguniq-3 b/tests/msguniq-3 index f9bdcb2f7..c83a0e52a 100755 --- a/tests/msguniq-3 +++ b/tests/msguniq-3 @@ -5,7 +5,7 @@ trap 'rm -fr $tmpfiles' 1 2 3 15 tmpfiles="$tmpfiles msguniq-3.out" : ${MSGUNIQ-msguniq} -${MSGUNIQ} -w 1000 -d msguniq-1.in -o msguniq-3.out +${MSGUNIQ} -w 1000 -d ${top_srcdir}/tests/msguniq-a.in -o msguniq-3.out tmpfiles="$tmpfiles msguniq-3.ok" cat <<\EOF > msguniq-3.ok