From 383e27eae49f8bf3c199d1e6367cf0ff22fe79cb Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Wed, 24 Oct 2018 23:14:41 +0200 Subject: [PATCH] Improve reliability of 'make dist'. * gettext-tools/examples/po/Makefile.am (distdir1): Depend on the .pot file. --- gettext-tools/examples/po/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; \ -- 2.47.3