]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
build: Stop generating a VERSION file.
authorBruno Haible <bruno@clisp.org>
Sun, 25 Nov 2018 01:12:09 +0000 (02:12 +0100)
committerBruno Haible <bruno@clisp.org>
Sun, 25 Nov 2018 01:12:09 +0000 (02:12 +0100)
* 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
gettext-tools/configure.ac

index bbc7f8e20f45c2b814d7282431d9eb9759397a48..9db27c5d8e8b44419736156e1f3cc187eae11e1f 100644 (file)
@@ -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 \
index 82fa2cd768cd1fe3ae1790b768100862d1964f04..9b0bb6315289ae5d3da679b9a7b78f1eb899cf0e 100644 (file)
@@ -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])