From 7294fe574f03b75a09796e9beb29b1c0b6c9a179 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 25 Nov 2018 02:12:09 +0100 Subject: [PATCH] build: Stop generating a VERSION file. * gettext-tools/configure.ac: Don't create intl/VERSION. * gettext-runtime/intl/Makefile.in (DISTFILES.normal): Remove variable. (distclean): Simplify accordingly. --- gettext-runtime/intl/Makefile.in | 4 ---- gettext-tools/configure.ac | 4 ---- 2 files changed, 8 deletions(-) diff --git a/gettext-runtime/intl/Makefile.in b/gettext-runtime/intl/Makefile.in index bbc7f8e20..9db27c5d8 100644 --- a/gettext-runtime/intl/Makefile.in +++ b/gettext-runtime/intl/Makefile.in @@ -201,7 +201,6 @@ DISTFILES.common = Makefile.in \ locale.alias ref-add.sin ref-del.sin export.h libintl.rc \ $(HEADERS) $(SOURCES) DISTFILES.generated = plural.c -DISTFILES.normal = VERSION DISTFILES.gettext = ChangeLog COPYING.LIB INSTALL.windows libintl.glibc all: all-@USE_INCLUDED_LIBINTL@ @@ -538,7 +537,6 @@ clean: mostlyclean distclean: clean rm -f Makefile ID TAGS - rm -f $(DISTFILES.normal) maintainer-clean: distclean @echo "This command is intended for maintainers to use;" @@ -546,8 +544,6 @@ maintainer-clean: distclean rm -f $(srcdir)/plural.c -# GNU gettext needs not contain the file 'VERSION' but contains some -# other files which should not be distributed in other packages. distdir = ../$(PACKAGE)-$(VERSION)/$(subdir) dist distdir: Makefile if test "$(PACKAGE)" = "gettext-tools"; then \ diff --git a/gettext-tools/configure.ac b/gettext-tools/configure.ac index 82fa2cd76..9b0bb6315 100644 --- a/gettext-tools/configure.ac +++ b/gettext-tools/configure.ac @@ -492,10 +492,6 @@ dnl Check whether to execute tests of the system (vendor-provided) libintl API. dnl We execute these tests if and only if we don't install our own libintl. AM_CONDITIONAL([TEST_SYSTEM_LIBINTL], [test $USE_INCLUDED_LIBINTL = no]) -dnl Generate the version information file in the intl/ directory. -test -d intl || mkdir intl -echo "GNU gettext library from gettext-$VERSION" > intl/VERSION - AC_CONFIG_SUBDIRS([examples]) AC_CONFIG_FILES([Makefile]) -- 2.47.3