From: Bruno Haible Date: Fri, 15 Jun 2001 16:35:29 +0000 (+0000) Subject: Better use of automake. X-Git-Tag: v0.11~654 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a7eb9c9a8b9ef03063c498f89cd98660040ccc12;p=thirdparty%2Fgettext.git Better use of automake. --- diff --git a/ChangeLog b/ChangeLog index a65acd20c..49889d231 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2001-06-15 Bruno Haible + + * configure.in: Remove post-processing of tests/Makefile. + 2001-06-10 Bruno Haible * configure.in: Add test for cross compilation and for PERL. diff --git a/configure.in b/configure.in index 944cf9599..7f9a1ac59 100644 --- a/configure.in +++ b/configure.in @@ -1,6 +1,6 @@ dnl Process this file with autoconf to produce a configure script. AC_PREREQ(2.13) -AC_REVISION($Revision: 1.32 $) +AC_REVISION($Revision: 1.33 $) AC_INIT(src/msgfmt.c) AM_INIT_AUTOMAKE(gettext, 0.11) RELEASE_DATE=2001-05-23 dnl in "date +%Y-%m-%d" format @@ -134,12 +134,4 @@ changequote([, ])dnl sed -e "s/list='\\\$(lisp_LISP)'; for/list='\$(lisp_LISP)'; test '\$(EMACS)' = no || for/" \ < misc/Makefile > misc/Makefile.tmp mv misc/Makefile.tmp misc/Makefile - dnl Workaround another automake-1.4 bug which forgets to add $(EXEEXT) - dnl suffixes to elements of EXTRA_PROGRAMS. It does correctly add the suffix - dnl to the elements of bin_PROGRAMS. -changequote(,)dnl - sed -e '/^EXTRA_PROGRAMS = /{' -e 's/\([a-z0-9_]\)\( \)/\1\$(EXEEXT)\2/g' -e 's/\([a-z0-9_]\)$/\1\$(EXEEXT)/g' -e '}' \ - < tests/Makefile > tests/Makefile.tmp -changequote([, ])dnl - mv tests/Makefile.tmp tests/Makefile ]) diff --git a/tests/ChangeLog b/tests/ChangeLog index 965621be7..9e1280090 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,3 +1,9 @@ +2001-06-15 Bruno Haible + + * Makefile.am (noinst_PROGRAMS): New variable. + (EXTRA_PROGRAMS, CLEANFILES): Remove variables. + (all-local): Remove target. + 2001-06-10 Bruno Haible * msgmerge-10: New file. diff --git a/tests/Makefile.am b/tests/Makefile.am index 147064674..dd9e1fb7a 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -58,11 +58,9 @@ DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@ LDADD = $(LDADD_@USE_INCLUDED_LIBINTL@) LDADD_yes = ../intl/libintl.la LDADD_no = ../intl/libgnuintl.la @INTLLIBS@ -EXTRA_PROGRAMS = tstgettext tstngettext cake +noinst_PROGRAMS = tstgettext tstngettext cake tstgettext_SOURCES = tstgettext.c setlocale.c tstgettext_LDADD = ../lib/libnlsut.a $(LDADD) tstngettext_SOURCES = tstngettext.c setlocale.c tstngettext_LDADD = ../lib/libnlsut.a $(LDADD) cake_SOURCES = plural-1-prg.c setlocale.c -all-local: $(EXTRA_PROGRAMS) -CLEANFILES = $(EXTRA_PROGRAMS)