From: Amos Jeffries Date: Sun, 14 Jun 2009 05:34:43 +0000 (+1200) Subject: Remove obsolete Dual-Language error page hack X-Git-Tag: SQUID_3_2_0_1~952 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e82b7aca0eef8557f3460d9344ad4a7922c0c1df;p=thirdparty%2Fsquid.git Remove obsolete Dual-Language error page hack --- diff --git a/errors/Makefile.am b/errors/Makefile.am index ecd2f02b4a..100722c150 100644 --- a/errors/Makefile.am +++ b/errors/Makefile.am @@ -84,31 +84,6 @@ uninstall-local: @$(SHELL) $(top_srcdir)/scripts/remove-cfg.sh "$(RM)" $(DESTDIR)$(DEFAULT_STYLESHEET) rm -f $(DESTDIR)$(DEFAULT_STYLESHEET).default -# undocumented hack. You can use this target to create multi-lingual -# error pages. For example: -# -# make ADDLANG=English DESTLANG=French addlang -# -# by Andres Kroonmaa -# -# UPDATE: this hack completely breaks HTML standards and with the addition -# of language translations is now largely obsolete. -# It will be removed without notice at some future date. -# -addlang: all - -@if test -d $(srcdir)/$(ADDLANG); then \ - if test -d $(DEFAULT_ERROR_DIR)/$(DESTLANG); then \ - cd $(srcdir)/$(ADDLANG)/ ; \ - for f in ERR_*; do \ - if test -f $(DEFAULT_ERROR_DIR)/$(DESTLANG)/$$f ; then \ - echo "appending $(ADDLANG)/$$f"; \ - echo "
" >> $(DEFAULT_ERROR_DIR)/$(DESTLANG)/$$f ; \ - cat $$f >> $(DEFAULT_ERROR_DIR)/$(DESTLANG)/$$f; \ - fi; \ - done; \ - fi \ - fi - dist-hook: translate for lang in $(TRANSLATIONS); do \ if test -d $$lang ; then \