]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fix compile bugs in errors/
authorAmos Jeffries <squid3@treenet.co.nz>
Fri, 4 Sep 2009 05:57:25 +0000 (17:57 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Fri, 4 Sep 2009 05:57:25 +0000 (17:57 +1200)
errors/Makefile.am

index c80a94b0675720430cb92c000fd0745b9ae11c79..7655a1bb5eaf55778f7d43bcc679afca59f11c46 100644 (file)
@@ -110,7 +110,7 @@ translate-warn:
 
 all: all-am
 
-.po.lang:
+%.lang:
        if test "$(PO2HTML)" != "" && test "$(PO2HTML)" != "no" && test "$(PO2HTML)" != "off" && test -f $(top_srcdir)/errors/en.po; then \
            lang=`basename $@ .lang`; \
            mkdir -p $(top_builddir)/errors/$$lang; \
@@ -156,7 +156,6 @@ install-data-local: translate
        $(INSTALL_DATA) $(srcdir)/errorpage.css $(DESTDIR)$(DEFAULT_STYLESHEET).default; \
        $(SHELL) $(srcdir)/alias-link.sh "$(LN)" "$(RM)" "$(DESTDIR)$(DEFAULT_ERROR_DIR)" "$(srcdir)/aliases" || exit 1 ;
 
-
 uninstall-local:
        for l in $(TRANSLATE_LANGUAGES) templates; do \
          l=`basename $$l .lang`; \
@@ -202,5 +201,5 @@ clean:
            rm -rf $$lang; \
          done; \
        fi
-       
+
 all: translate