]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
dist the translations and templates properly
authorAmos Jeffries <squid3@treenet.co.nz>
Sun, 9 Nov 2008 04:10:23 +0000 (17:10 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Sun, 9 Nov 2008 04:10:23 +0000 (17:10 +1300)
errors/Makefile.am

index 07f8f1d67687890295bcbc7d531dd4e71d4f69f4..b90fe86f95c1c6a70d03c7ce2549564d1bb50a6e 100644 (file)
@@ -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; \