]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - doc/Makefile
<rdar://problem/5792631> dependency cycle in cups-144 / PrintingCore-250 / Applicatio...
[thirdparty/cups.git] / doc / Makefile
index ee2d3397348abd6ced61df2ccd420591c340b894..122d91561aba2eb1cafc30d6da2ce3edd5e0e755 100644 (file)
@@ -1,25 +1,16 @@
 #
-# "$Id: Makefile 6519 2007-05-08 01:55:27Z mike $"
+# "$Id: Makefile 6900 2007-08-30 17:17:51Z mike $"
 #
 #   Documentation makefile for the Common UNIX Printing System (CUPS).
 #
+#   Copyright 2007-2008 by Apple Inc.
 #   Copyright 1997-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,82 +22,25 @@ include ../Makedefs
 WEBPAGES       =       \
                        cups.css \
                        cups-printable.css \
-                       favicon.ico \
+                       favicon.png \
                        index.html \
                        robots.txt
-WEBBUTTONS     =       \
-                       images/button-accept-jobs.gif \
-                       images/button-add-class.gif \
-                       images/button-add-printer.gif \
-                       images/button-add-rss-subscription.gif \
-                       images/button-add-this-printer.gif \
-                       images/button-cancel-all-jobs.gif \
-                       images/button-cancel-job.gif \
-                       images/button-cancel-subscription.gif \
-                       images/button-change-settings.gif \
-                       images/button-clean-print-heads.gif \
-                       images/button-clear.gif \
-                       images/button-continue.gif \
-                       images/button-delete-class.gif \
-                       images/button-delete-printer.gif \
-                       images/button-edit-configuration-file.gif \
-                       images/button-export-samba.gif \
-                       images/button-help.gif \
-                       images/button-hold-job.gif \
-                       images/button-list-available-printers.gif \
-                       images/button-manage-classes.gif \
-                       images/button-manage-jobs.gif \
-                       images/button-manage-printers.gif \
-                       images/button-manage-server.gif \
-                       images/button-modify-class.gif \
-                       images/button-modify-printer.gif \
-                       images/button-move-job.gif \
-                       images/button-move-jobs.gif \
-                       images/button-print-self-test-page.gif \
-                       images/button-print-test-page.gif \
-                       images/button-publish-printer.gif \
-                       images/button-reject-jobs.gif \
-                       images/button-release-job.gif \
-                       images/button-restart-job.gif \
-                       images/button-save-changes.gif \
-                       images/button-search.gif \
-                       images/button-set-allowed-users.gif \
-                       images/button-set-as-default.gif \
-                       images/button-set-printer-options.gif \
-                       images/button-show-active.gif \
-                       images/button-show-all.gif \
-                       images/button-show-completed.gif \
-                       images/button-show-next.gif \
-                       images/button-show-previous.gif \
-                       images/button-sort-ascending.gif \
-                       images/button-sort-descending.gif \
-                       images/button-start-class.gif \
-                       images/button-start-printer.gif \
-                       images/button-stop-class.gif \
-                       images/button-stop-printer.gif \
-                       images/button-unpublish-printer.gif \
-                       images/button-use-default-config.gif \
-                       images/button-view-access-log.gif \
-                       images/button-view-error-log.gif \
-                       images/button-view-page-log.gif \
-                       images/button-view-printable-version.gif
 WEBIMAGES      =       \
-                       images/bottom-left.gif \
-                       images/bottom-right.gif \
-                       images/classes.gif \
+                       images/classes.png \
+                       images/cups.png \
                        images/cups-block-diagram.gif \
-                       images/esp-logo.gif \
-                       images/happy.gif \
-                       images/logo.gif \
-                       images/printer-idle.gif \
-                       images/printer-processing.gif \
-                       images/printer-stopped.gif \
+                       images/cups-icon.png \
+                       images/left.gif \
+                       images/printer-idle.png \
+                       images/printer-processing.png \
+                       images/printer-stopped.png \
+                       images/raster.png \
+                       images/right.gif \
+                       images/sel.gif \
+                       images/shadow.png \
                        images/smiley.jpg \
-                       images/tab-left.gif \
-                       images/tab-right.gif \
-                       images/top-left.gif \
-                       images/top-middle.gif \
-                       images/top-right.gif \
+                       images/unsel-hover.gif \
+                       images/unsel.gif \
                        images/web-add-this-printer.gif \
                        images/web-password.gif \
                        images/web-printer-driver.gif \
@@ -114,15 +48,18 @@ WEBIMAGES  =       \
                        images/web-set-printer-options.gif \
                        images/web-test-page.gif
 HELPFILES      =       \
+                       help/accounting.html \
                        help/api-array.html \
                        help/api-cups.html \
                        help/api-filedir.html \
                        help/api-filter.html \
                        help/api-httpipp.html \
+                       help/api-overview.html \
                        help/api-ppd.html \
                        help/api-raster.html \
                        help/cgi.html \
                        help/glossary.html \
+                       help/kerberos.html \
                        help/license.html \
                        help/man-accept.html \
                        help/man-backend.html \
@@ -203,10 +140,17 @@ depend:
 
 
 #
-# Install all documentation files...
+# Install all targets...
+#
+
+install:       all install-data install-headers install-libs install-exec
+
+
+#
+# Install data files...
 #
 
-install:       all $(INSTALL_LANGUAGES)
+install-data:
        $(INSTALL_DIR) -m 755 $(DOCDIR)
        for file in $(WEBPAGES); do \
                $(INSTALL_MAN) $$file $(DOCDIR); \
@@ -216,27 +160,45 @@ install:  all $(INSTALL_LANGUAGES)
                $(INSTALL_MAN) $$file $(DOCDIR)/help; \
        done
        $(INSTALL_DIR) -m 755 $(DOCDIR)/images
-       for file in $(WEBIMAGES) $(WEBBUTTONS); do \
+       for file in $(WEBIMAGES); do \
                $(INSTALL_MAN) $$file $(DOCDIR)/images; \
        done
 
 install-languages:
        for lang in $(LANGUAGES); do \
-               $(INSTALL_DIR) -m 755 $(DOCDIR)/$$lang/images; \
-               if test -f $$lang/index.html; then \
+               if test -d $$lang; then \
+                       $(INSTALL_DIR) -m 755 $(DOCDIR)/$$lang/images; \
                        $(INSTALL_MAN) $$lang/index.html $(DOCDIR)/$$lang; \
+                       $(INSTALL_MAN) $$lang/cups.css $(DOCDIR)/$$lang 2>/dev/null || true; \
+                       $(INSTALL_DIR) -m 755 $(DOCDIR)/$$lang/images; \
+                       for file in $(WEBIMAGES); do \
+                               $(INSTALL_MAN) $$lang/$$file $(DOCDIR)/$$lang/images 2>/dev/null || true; \
+                       done; \
                fi; \
-               if test -f $$lang/cups.css; then \
-                       $(INSTALL_MAN) $$lang/cups.css $(DOCDIR)/$$lang; \
-               fi; \
-               for file in $(WEBBUTTONS); do \
-                       if test -f $$lang/$$file; then \
-                               $(INSTALL_MAN) $$lang/$$file $(DOCDIR)/$$lang/images; \
-                       fi; \
-               done \
        done
 
 
+#
+# Install programs...
+#
+
+install-exec:
+
+
+#
+# Install headers...
+#
+
+install-headers:
+
+
+#
+# Install libraries...
+#
+
+install-libs:
+
+
 #
 # Unnstall all documentation files...
 #
@@ -246,10 +208,10 @@ uninstall: $(UNINSTALL_LANGUAGES)
                $(RM) $(DOCDIR)/$$file; \
        done
        for file in $(HELPFILES); do \
-               $(INSTALL_MAN) $(DOCDIR)/help/$$file; \
+               $(RM) $(DOCDIR)/$$file; \
        done
-       for file in $(WEBIMAGES) $(WEBBUTTONS); do \
-               $(INSTALL_MAN) $(DOCDIR)/images/$$file; \
+       for file in $(WEBIMAGES); do \
+               $(RM) $(DOCDIR)/$$file; \
        done
        -$(RMDIR) $(DOCDIR)/images
        -$(RMDIR) $(DOCDIR)/help
@@ -259,9 +221,9 @@ uninstall-languages:
        -for lang in $(LANGUAGES); do \
                $(RM) $(DOCDIR)/$$lang/index.html; \
                $(RM) $(DOCDIR)/$$lang/cups.css; \
-               for file in $(WEBBUTTONS); do \
-                       $(RM) $(DOCDIR)/$$lang/images/$$file; \
-               done \
+               for file in $(WEBIMAGES); do \
+                       $(RM) $(DOCDIR)/$$lang/$$file; \
+               done; \
                $(RMDIR) $(DOCDIR)/$$lang/images; \
                $(RMDIR) $(DOCDIR)/$$lang; \
        done