]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - locale/Makefile
Add new dynamic mDNSResponder stub.
[thirdparty/cups.git] / locale / Makefile
index ef5693c747c7df93ecff4e7c075c8a77d1c206ac..db2b7872485d6184a67140b8774339f85402c393 100644 (file)
@@ -1,14 +1,10 @@
 #
 # Locale file makefile for CUPS.
 #
-# Copyright 2007-2017 by Apple Inc.
+# Copyright 2007-2018 by Apple Inc.
 # Copyright 1993-2007 by Easy Software Products.
 #
-# These coded instructions, statements, and computer programs are the
-# property of Apple Inc. and are protected by Federal copyright
-# law.  Distribution and use rights are outlined in the file "LICENSE.txt"
-# which should have been included with this file.  If this file is
-# missing or damaged, see the license at "http://www.cups.org/".
+# Licensed under Apache License v2.0.  See the file "LICENSE" for more information.
 #
 
 include ../Makedefs
@@ -76,6 +72,8 @@ install-languages:
                        $(INSTALL_DATA) cups_$$loc.po $(LOCALEDIR)/$$loc/cups_$$loc.po ; \
                fi ; \
        done
+       $(INSTALL_DIR) -m 755 $(LOCALEDIR)/en
+       $(INSTALL_DATA) cups.pot $(LOCALEDIR)/en/cups_en.po
 
 install-langbundle: po2strings
        $(INSTALL_DIR) -m 755 "$(BUILDROOT)$(BUNDLEDIR)/Resources/English.lproj"
@@ -131,8 +129,8 @@ pot:        checkpo po2strings
        cd ..; xgettext -o locale/cups.pot -cTRANSLATORS -s \
                --keyword=_ --no-wrap \
                --copyright-holder="Apple Inc." \
-               --package-name="CUPS" --package-version="1.6" \
-               --msgid-bugs-address="http://www.cups.org/str.php" \
+               --package-name="CUPS" --package-version="$(CUPS_VERSION)" \
+               --msgid-bugs-address="https://github.com/apple/cups/issues" \
                */*.c */*.cxx
        (cat cups.header; tail +6 cups.pot; cat cups.footer) > cups.pot.N
        mv cups.pot.N cups.pot
@@ -161,6 +159,7 @@ checkpo:    checkpo.o ../cups/$(LIBCUPSSTATIC)
        $(LD_CC) $(ARCHFLAGS) $(LDFLAGS) -o checkpo checkpo.o \
                ../cups/$(LIBCUPSSTATIC) $(LIBGSSAPI) $(SSLLIBS) $(DNSSDLIBS) \
                $(COMMONLIBS) $(LIBZ)
+       $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@
 
 checkall:      checkpo
        ./checkpo *.po *.strings
@@ -178,6 +177,7 @@ po2strings: po2strings.o ../cups/$(LIBCUPSSTATIC)
        $(LD_CC) $(ARCHFLAGS) $(LDFLAGS) -o po2strings po2strings.o \
                ../cups/$(LIBCUPSSTATIC) $(LIBGSSAPI) $(SSLLIBS) $(DNSSDLIBS) \
                $(COMMONLIBS) $(LIBZ)
+       $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@
 
 
 #
@@ -190,6 +190,7 @@ po2strings: po2strings.o ../cups/$(LIBCUPSSTATIC)
 strings2po:    strings2po.o
        echo Linking $@...
        $(LD_CC) $(ARCHFLAGS) $(LDFLAGS) -o strings2po strings2po.o
+       $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@
 
 
 #