]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Remove obsolete Dual-Language error page hack
authorAmos Jeffries <squid3@treenet.co.nz>
Sun, 14 Jun 2009 05:34:43 +0000 (17:34 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Sun, 14 Jun 2009 05:34:43 +0000 (17:34 +1200)
errors/Makefile.am

index ecd2f02b4add9665386df21e3f538f726b3c60b1..100722c150f4672cd810a057f90e6397503386e7 100644 (file)
@@ -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 <andre@mail.lbi.ee>
-#
-# 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 "<HR>" >> $(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 \