From: Bruno Haible Date: Wed, 24 Oct 2018 21:14:41 +0000 (+0200) Subject: Improve reliability of 'make dist'. X-Git-Tag: v0.20~284 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=383e27eae49f8bf3c199d1e6367cf0ff22fe79cb;p=thirdparty%2Fgettext.git Improve reliability of 'make dist'. * gettext-tools/examples/po/Makefile.am (distdir1): Depend on the .pot file. --- diff --git a/gettext-tools/examples/po/Makefile.am b/gettext-tools/examples/po/Makefile.am index 8855c4c07..3078c5846 100644 --- a/gettext-tools/examples/po/Makefile.am +++ b/gettext-tools/examples/po/Makefile.am @@ -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; \