]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - templates/Makefile
Fix source file header text duplication text duplication.
[thirdparty/cups.git] / templates / Makefile
index 01722ab6610f84286ba0273836505dd58711d06a..09c1892ece7740d5433ab24e8b62b251dbda4e9c 100644 (file)
@@ -1,25 +1,14 @@
 #
-# "$Id: Makefile 6440 2007-04-03 23:17:17Z mike $"
+# Template makefile for CUPS.
 #
-#   Template makefile for the Common UNIX Printing System (CUPS).
+# Copyright 2007-2014 by Apple Inc.
+# Copyright 1993-2007 by Easy Software Products.
 #
-#   Copyright 1993-2007 by Easy Software Products.
-#
-#   These coded instructions, statements, and computer programs are the
-#   property of Easy Software Products 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 please contact Easy Software Products
-#   at:
-#
-#       Attn: CUPS Licensing Information
-#       Easy Software Products
-#       44141 Airport View Drive, Suite 204
-#       Hollywood, Maryland 20636 USA
-#
-#       Voice: (301) 373-9600
-#       EMail: cups-info@cups.org
-#         WWW: 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
+# missing or damaged, see the license at "http://www.cups.org/".
 #
 
 include ../Makedefs
@@ -31,12 +20,14 @@ include ../Makedefs
 FILES  =       \
                add-class.tmpl \
                add-printer.tmpl \
+               add-rss-subscription.tmpl \
                admin.tmpl \
                choose-device.tmpl \
                choose-make.tmpl \
                choose-model.tmpl \
                choose-serial.tmpl \
                choose-uri.tmpl \
+               class.tmpl \
                class-added.tmpl \
                class-confirm.tmpl \
                class-deleted.tmpl \
@@ -44,11 +35,13 @@ FILES       =       \
                class-modified.tmpl \
                classes.tmpl \
                classes-header.tmpl \
+               command.tmpl \
                edit-config.tmpl \
                error.tmpl \
                error-op.tmpl \
                header.tmpl \
                help-header.tmpl \
+               help-trailer.tmpl \
                help-printable.tmpl \
                job-cancel.tmpl \
                job-hold.tmpl \
@@ -59,7 +52,6 @@ FILES =       \
                jobs.tmpl \
                jobs-header.tmpl \
                list-available-printers.tmpl \
-               maintenance.tmpl \
                modify-class.tmpl \
                modify-printer.tmpl \
                norestart.tmpl \
@@ -70,15 +62,16 @@ FILES       =       \
                option-pickone.tmpl \
                option-trailer.tmpl \
                pager.tmpl \
+               printer.tmpl \
                printer-accept.tmpl \
                printer-added.tmpl \
+               printer-cancel-jobs.tmpl \
                printer-configured.tmpl \
                printer-confirm.tmpl \
                printer-default.tmpl \
                printer-deleted.tmpl \
                printer-jobs-header.tmpl \
                printer-modified.tmpl \
-               printer-purge.tmpl \
                printer-reject.tmpl \
                printer-start.tmpl \
                printer-stop.tmpl \
@@ -90,6 +83,8 @@ FILES =       \
                search.tmpl \
                set-printer-options-header.tmpl \
                set-printer-options-trailer.tmpl \
+               subscription-added.tmpl \
+               subscription-canceled.tmpl \
                test-page.tmpl \
                trailer.tmpl \
                users.tmpl
@@ -102,6 +97,20 @@ FILES       =       \
 all:
 
 
+#
+# Make library targets...
+#
+
+libs:
+
+
+#
+# Make unit tests...
+#
+
+unittests:
+
+
 #
 # Clean all config and object files...
 #
@@ -117,10 +126,17 @@ depend:
 
 
 #
-# Install files...
+# Install all targets...
+#
+
+install:       all install-data install-headers install-libs install-exec
+
+
+#
+# Install data files...
 #
 
-install: all $(INSTALL_LANGUAGES)
+install-data: $(INSTALL_LANGUAGES)
        $(INSTALL_DIR) -m 755 $(DATADIR)/templates
        for file in $(FILES); do \
                $(INSTALL_DATA) $$file $(DATADIR)/templates; \
@@ -128,14 +144,37 @@ install: all $(INSTALL_LANGUAGES)
 
 install-languages:
        for lang in $(LANGUAGES); do \
-               $(INSTALL_DIR) -m 755 $(DATADIR)/templates/$$lang; \
-               for file in $(FILES); do \
-                       if test -f $$lang/$$file; then \
-                               $(INSTALL_DATA) $$lang/$$file $(DATADIR)/templates/$$lang; \
-                       fi \
-               done \
+               if test -d $$lang; then \
+                       $(INSTALL_DIR) -m 755 $(DATADIR)/templates/$$lang; \
+                       for file in $(FILES); do \
+                               $(INSTALL_DATA) $$lang/$$file $(DATADIR)/templates/$$lang >/dev/null 2>&1 || true; \
+                       done \
+               fi \
        done
 
+install-langbundle:
+
+
+#
+# Install programs...
+#
+
+install-exec:
+
+
+#
+# Install headers...
+#
+
+install-headers:
+
+
+#
+# Install libraries...
+#
+
+install-libs:
+
 
 #
 # Uninstall files...
@@ -155,7 +194,4 @@ uninstall-languages:
                $(RMDIR) $(DATADIR)/templates/$$lang; \
        done
 
-
-#
-# End of "$Id: Makefile 6440 2007-04-03 23:17:17Z mike $".
-#
+uninstall-langbundle: