]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - locale/Makefile
Remove all of the Subversion keywords from various source files.
[thirdparty/cups.git] / locale / Makefile
index 98b407295ba433ad22e535c67096cc018299bc52..bdda03cb0c890191e3f3af8c37285258ffef859e 100644 (file)
@@ -1,23 +1,21 @@
 #
-# "$Id: Makefile 7871 2008-08-27 21:12:43Z mike $"
+# Locale file makefile for CUPS.
 #
-#   Locale file makefile for CUPS.
+# Copyright 2007-2014 by Apple Inc.
+# Copyright 1993-2007 by Easy Software Products.
 #
-#   Copyright 2007-2012 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
-#   file is missing or damaged, see the license at "http://www.cups.org/".
+# 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
+# file is missing or damaged, see the license at "http://www.cups.org/".
 #
 
 include ../Makedefs
 
 
-OBJS   =       checkpo.o po2strings.o strings2po.o translate.o
-TARGETS        =       checkpo po2strings strings2po translate
+OBJS   =       checkpo.o po2strings.o strings2po.o
+TARGETS        =       checkpo po2strings strings2po
 
 
 #
@@ -133,7 +131,7 @@ pot:        checkpo po2strings
        cd ..; xgettext -o locale/cups.pot -cTRANSLATORS -s \
                --keyword=_ --no-wrap \
                --copyright-holder="Apple Inc." \
-               --package-name="CUPS" --package-version="1.5" \
+               --package-name="CUPS" --package-version="1.6" \
                --msgid-bugs-address="http://www.cups.org/str.php" \
                */*.c */*.cxx
        (cat cups.header; tail +6 cups.pot; cat cups.footer) > cups.pot.N
@@ -141,6 +139,9 @@ pot:        checkpo po2strings
        echo Checking cups.pot...
        ./checkpo cups.pot
        for loc in *.po ; do \
+               if test $$loc = '*.po'; then \
+                       break; \
+               fi; \
                echo Merging changes into $$loc... ; \
                msgmerge -o $$loc -s -N --no-location $$loc cups.pot ; \
        done
@@ -156,7 +157,7 @@ pot:        checkpo po2strings
 #
 
 checkpo:       checkpo.o ../cups/$(LIBCUPSSTATIC)
-       echo Linking $<...
+       echo Linking $@...
        $(CC) $(ARCHFLAGS) $(LDFLAGS) -o checkpo checkpo.o \
                ../cups/$(LIBCUPSSTATIC) $(LIBGSSAPI) $(SSLLIBS) $(DNSSDLIBS) \
                $(COMMONLIBS) $(LIBZ)
@@ -169,51 +170,32 @@ checkall: checkpo
 
 #
 # po2strings - A simple utility which uses iconv to convert GNU gettext
-#              message catalogs to Mac OS X .strings files.
+#              message catalogs to OS X .strings files.
 #
 # po2strings filename.po filename.strings
 #
 
 po2strings:    po2strings.o ../cups/$(LIBCUPSSTATIC)
-       echo Linking $<...
+       echo Linking $@...
        $(CC) $(ARCHFLAGS) $(LDFLAGS) -o po2strings po2strings.o \
                ../cups/$(LIBCUPSSTATIC) $(LIBGSSAPI) $(SSLLIBS) $(DNSSDLIBS) \
                $(COMMONLIBS) $(LIBZ)
 
 
 #
-# strings2po - A simple utility which uses iconv to convert Mac OS X
-#              .strings files to GNU gettext message catalogs.
+# strings2po - A simple utility which uses iconv to convert OS X .strings files
+#              to GNU gettext message catalogs.
 #
 # strings2po filename.strings filename.po
 #
 
 strings2po:    strings2po.o
-       echo Linking $<...
+       echo Linking $@...
        $(CC) $(ARCHFLAGS) $(LDFLAGS) -o strings2po strings2po.o
 
 
-#
-# translate - A simple utility which uses Google to translate the cups.pot
-#             file to one of several languages.
-#
-# translate outfile language
-#
-
-translate:     translate.o ../cups/$(LIBCUPSSTATIC)
-       echo Linking $<...
-       $(CC) $(ARCHFLAGS) $(LDFLAGS) -o translate translate.o \
-               ../cups/$(LIBCUPSSTATIC) $(LIBGSSAPI) $(SSLLIBS) $(DNSSDLIBS) \
-               $(COMMONLIBS) $(LIBZ)
-
-
 #
 # Dependencies...
 #
 
 include Dependencies
-
-
-#
-# End of "$Id: Makefile 7871 2008-08-27 21:12:43Z mike $".
-#