From: Amos Jeffries Date: Sun, 9 Nov 2008 04:10:23 +0000 (+1300) Subject: dist the translations and templates properly X-Git-Tag: SQUID_3_2_0_1~1341 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f8b9e30eceb400e2dd7249c7c3a43866cd954f7e;p=thirdparty%2Fsquid.git dist the translations and templates properly --- diff --git a/errors/Makefile.am b/errors/Makefile.am index 07f8f1d676..b90fe86f95 100644 --- a/errors/Makefile.am +++ b/errors/Makefile.am @@ -122,22 +122,22 @@ addlang: all fi dist-hook: - for lang in $(LANGUAGES); do \ + for lang in $(LANGUAGES) templates; do \ if test -d $(srcdir)/$$lang ; then \ - test -d $(distdir)/$$lang \ - || mkdir $(distdir)/$$lang \ - || exit 1; \ - cp -p $(srcdir)/$$lang/ERR_* $(distdir)/$$lang \ - || exit 1; \ + test -d $(distdir)/$$lang \ + || mkdir $(distdir)/$$lang \ + || exit 1; \ + cp -p $(srcdir)/$$lang/ERR_* $(distdir)/$$lang \ + || exit 1; \ fi; \ done; \ $(MAKE) translate; \ for lang in $(TRANSLATIONS); do \ - if test -d $(srcdir)/$$lang ; then \ + if test -d $$lang ; then \ test -d $(distdir)/$$lang \ || mkdir $(distdir)/$$lang \ || exit 1; \ - cp -p $(srcdir)/$$lang/ERR_* $(distdir)/$$lang \ + cp -p $$lang/ERR_* $(distdir)/$$lang \ || exit 1; \ fi; \ done; \