]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Improve reliability of 'make dist'.
authorBruno Haible <bruno@clisp.org>
Wed, 24 Oct 2018 21:14:41 +0000 (23:14 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 24 Oct 2018 21:14:41 +0000 (23:14 +0200)
* gettext-tools/examples/po/Makefile.am (distdir1): Depend on the .pot file.

gettext-tools/examples/po/Makefile.am

index 8855c4c079930d5c1fb33bed07ff1cc929f51459..3078c58468320d0cb2be1edde867d2a06a92421f 100644 (file)
@@ -338,7 +338,7 @@ EXTRA_DIST = remove-potcdate.sin xsmallpot.sh mmsmallpo.sh LINGUAS \
 
 # Hidden from automake, but really activated. Works around an automake-1.5 bug.
 #distdir: distdir1
-distdir1:
+distdir1: $(srcdir)/$(DOMAIN).pot
        if test -f $(srcdir)/$(DOMAIN).pot; then \
          for file in $(DOMAIN).pot stamp-po $(SMALLPOTS); do \
            if test -f $$file; then d=.; else d=$(srcdir); fi; \