]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Cleanup: only copy error-details.txt once per language
authorAmos Jeffries <squid3@treenet.co.nz>
Mon, 3 Oct 2011 10:55:34 +0000 (04:55 -0600)
committerAmos Jeffries <squid3@treenet.co.nz>
Mon, 3 Oct 2011 10:55:34 +0000 (04:55 -0600)
errors/Makefile.am

index 910789f0fb41a2e2f2e1b25ac1a6df87bb18e3e8..dc5ca2dae3313726313dd8262024b4d19b92bd68 100644 (file)
@@ -49,8 +49,8 @@ NOTIDY=`$(PO2HTML) --help | grep -o "\-\-notidy"`
            for f in $(ERROR_TEMPLATES); do \
                page=`basename $$f`; \
                $(PO2HTML) $(NOTIDY) --progress=none -i $(top_srcdir)/errors/$$lang.po -t $(top_srcdir)/errors/$$f >$(top_builddir)/errors/$$lang/$$page || exit 1; \
-           cp $(top_srcdir)/errors/templates/error-details.txt $(top_builddir)/errors/$$lang/error-details.txt || exit 1; \
            done; \
+           cp $(top_srcdir)/errors/templates/error-details.txt $(top_builddir)/errors/$$lang/error-details.txt || exit 1; \
            echo "done."; \
        fi; \
        touch $@