]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - templates/Makefile
Merge changes from CUPS 1.4svn-r7874.
[thirdparty/cups.git] / templates / Makefile
index 4572248ccc73f20524adea415ca6f005ea18da07..34712e5b43752b795dbc348ad98d288cd0d75c57 100644 (file)
@@ -1,25 +1,16 @@
 #
-# "$Id: Makefile 5055 2006-02-02 18:25:38Z mike $"
+# "$Id: Makefile 7558 2008-05-12 23:46:44Z mike $"
 #
 #   Template makefile for the Common UNIX Printing System (CUPS).
 #
-#   Copyright 1993-2005 by Easy Software Products.
+#   Copyright 2007-2008 by Apple Inc.
+#   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
+#   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
@@ -31,6 +22,7 @@ include ../Makedefs
 FILES  =       \
                add-class.tmpl \
                add-printer.tmpl \
+               add-rss-subscription.tmpl \
                admin.tmpl \
                choose-device.tmpl \
                choose-make.tmpl \
@@ -49,6 +41,7 @@ FILES =       \
                error-op.tmpl \
                header.tmpl \
                help-header.tmpl \
+               help-printable.tmpl \
                job-cancel.tmpl \
                job-hold.tmpl \
                job-move.tmpl \
@@ -57,8 +50,11 @@ FILES        =       \
                job-restart.tmpl \
                jobs.tmpl \
                jobs-header.tmpl \
+               list-available-printers.tmpl \
+               maintenance.tmpl \
                modify-class.tmpl \
                modify-printer.tmpl \
+               norestart.tmpl \
                option-boolean.tmpl \
                option-conflict.tmpl \
                option-header.tmpl \
@@ -86,6 +82,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
@@ -98,6 +96,20 @@ FILES        =       \
 all:
 
 
+#
+# Make library targets...
+#
+
+libs:
+
+
+#
+# Make unit tests...
+#
+
+unittests:
+
+
 #
 # Clean all config and object files...
 #
@@ -106,16 +118,81 @@ clean:
 
 
 #
-# Install files...
+# Dummy depend...
 #
 
-install: all
-       $(INSTALL_DIR) $(DATADIR)/templates
+depend:
+
+
+#
+# Install all targets...
+#
+
+install:       all install-data install-headers install-libs install-exec
+
+
+#
+# Install data files...
+#
+
+install-data: $(INSTALL_LANGUAGES)
+       $(INSTALL_DIR) -m 755 $(DATADIR)/templates
        for file in $(FILES); do \
                $(INSTALL_DATA) $$file $(DATADIR)/templates; \
        done
 
+install-languages:
+       for lang in $(LANGUAGES); do \
+               if test -d $$lang; then \
+                       $(INSTALL_DIR) -m 755 $(DATADIR)/templates/$$lang; \
+                       for file in $(FILES); do \
+                               $(INSTALL_DATA) $$lang/$$file $(DATADIR)/templates/$$lang 2>/dev/null || true; \
+                       done \
+               fi \
+       done
+
+
+
+#
+# Install programs...
+#
+
+install-exec:
+
+
+#
+# Install headers...
+#
+
+install-headers:
+
+
+#
+# Install libraries...
+#
+
+install-libs:
+
+
+#
+# Uninstall files...
+#
+
+uninstall: $(UNINSTALL_LANGUAGES)
+       for file in $(FILES); do \
+               $(RM) $(DATADIR)/templates/$$file; \
+       done
+       -$(RMDIR) $(DATADIR)/templates
+
+uninstall-languages:
+       for lang in $(LANGUAGES); do \
+               for file in $(FILES); do \
+                       $(RM) $(DATADIR)/templates/$$lang/$$file; \
+               done \
+               $(RMDIR) $(DATADIR)/templates/$$lang; \
+       done
+
 
 #
-# End of "$Id: Makefile 5055 2006-02-02 18:25:38Z mike $".
+# End of "$Id: Makefile 7558 2008-05-12 23:46:44Z mike $".
 #