]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Fix for the 'dist' target.
authorBruno Haible <bruno@clisp.org>
Tue, 20 Mar 2001 15:43:27 +0000 (15:43 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 20 Mar 2001 15:43:27 +0000 (15:43 +0000)
intl/ChangeLog
intl/Makefile.in

index 647518a327d7bbc19eeeb380dc745217ed3cc55a..ad8a0547aa774daee656aeea28e9248b89613e68 100644 (file)
@@ -1,3 +1,8 @@
+2001-03-20  Bruno Haible  <haible@clisp.cons.org>
+
+       * Makefile.in (dist): Don't depend on $(DISTFILES). Instead, generate
+       the files to be distributed through a recursive 'make' call.
+
 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
 
        * gettextP.h (struct expression): Add operators lnot, less_than,
index c14737fb9ef3ad8e8de0314528b8f624447439be..3250c345ed832192a6beebb99419c6884984f38a 100644 (file)
@@ -275,12 +275,13 @@ maintainer-clean: distclean
 # 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 $(DISTFILES)
+dist distdir: Makefile
        if test "$(PACKAGE)" = gettext; then \
          additional="$(DISTFILES.gettext)"; \
        else \
          additional="$(DISTFILES.normal)"; \
        fi; \
+       $(MAKE) $(DISTFILES.common) $$additional; \
        for file in ChangeLog $(DISTFILES.common) $$additional; do \
          ln $(srcdir)/$$file $(distdir) 2> /dev/null \
            || cp -p $(srcdir)/$$file $(distdir); \