]> 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 a6aa8a3cda2fb89b38eb009c113ce507437b45d7..122d91561aba2eb1cafc30d6da2ce3edd5e0e755 100644 (file)
@@ -1,25 +1,16 @@
 #
-# "$Id: Makefile 4950 2006-01-19 16:07:57Z mike $"
+# "$Id: Makefile 6900 2007-08-30 17:17:51Z mike $"
 #
 #   Documentation makefile for the Common UNIX Printing System (CUPS).
 #
-#   Copyright 1993-2005 by Easy Software Products.
+#   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
@@ -28,98 +19,66 @@ include ../Makedefs
 # Document files...
 #
 
-WEBPAGES       =       cups.css cupsdoc.css index.html robots.txt
+WEBPAGES       =       \
+                       cups.css \
+                       cups-printable.css \
+                       favicon.png \
+                       index.html \
+                       robots.txt
 WEBIMAGES      =       \
-                       images/accept-jobs.gif \
-                       images/add-class.gif \
-                       images/add-printer.gif \
-                       images/add-this-printer.gif \
-                       images/bottom-left.gif \
-                       images/bottom-right.gif \
-                       images/cancel.gif \
-                       images/cancel-all-jobs.gif \
-                       images/cancel-job.gif \
-                       images/change-settings.gif \
-                       images/classes.gif \
-                       images/continue.gif \
-                       images/delete-class.gif \
-                       images/delete-printer.gif \
-                       images/edit-configuration-file.gif \
-                       images/esp-logo.gif \
-                       images/happy.gif \
-                       images/help.gif \
-                       images/hold-job.gif \
-                       images/logo.gif \
-                       images/manage-classes.gif \
-                       images/manage-jobs.gif \
-                       images/manage-printers.gif \
-                       images/manage-server.gif \
-                       images/modify-class.gif \
-                       images/modify-printer.gif \
-                       images/move-job.gif \
-                       images/move-jobs.gif \
-                       images/printer-idle.gif \
-                       images/printer-processing.gif \
-                       images/printer-stopped.gif \
-                       images/print-test-page.gif \
-                       images/publish-printer.gif \
-                       images/reject-jobs.gif \
-                       images/release-job.gif \
-                       images/restart-job.gif \
-                       images/save-changes.gif \
-                       images/search.gif \
-                       images/set-allowed-users.gif \
-                       images/set-as-default.gif \
-                       images/set-printer-options.gif \
-                       images/show-active.gif \
-                       images/show-all.gif \
-                       images/show-completed.gif \
-                       images/show-next.gif \
-                       images/show-previous.gif \
-                       images/sort-ascending.gif \
-                       images/sort-descending.gif \
-                       images/start-class.gif \
-                       images/start-printer.gif \
-                       images/stop-class.gif \
-                       images/stop-printer.gif \
-                       images/tab-left.gif \
-                       images/tab-right.gif \
-                       images/top-left.gif \
-                       images/top-middle.gif \
-                       images/top-right.gif \
-                       images/unpublish-printer.gif \
-                       images/use-default-config.gif \
-                       images/view-access-log.gif \
-                       images/view-error-log.gif \
-                       images/view-page-log.gif
+                       images/classes.png \
+                       images/cups.png \
+                       images/cups-block-diagram.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/unsel-hover.gif \
+                       images/unsel.gif \
+                       images/web-add-this-printer.gif \
+                       images/web-password.gif \
+                       images/web-printer-driver.gif \
+                       images/web-printer-status.gif \
+                       images/web-set-printer-options.gif \
+                       images/web-test-page.gif
 HELPFILES      =       \
-                       help/access_log-reference.html \
+                       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/classes-conf-reference.html \
-                       help/client-conf-reference.html \
-                       help/cupsd-conf-reference.html \
-                       help/error_log-reference.html \
-                       help/page_log-reference.html \
-                       help/printers-conf-reference.html \
-                       help/subscriptions-conf-reference.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 \
-                       help/man-cupsaddsmb.html \
+                       help/man-cancel.html \
+                       help/man-classes.conf.html \
+                       help/man-client.conf.html \
                        help/man-cups-config.html \
-                       help/man-cupsd.html \
-                       help/man-cupsenable.html \
                        help/man-cups-lpd.html \
                        help/man-cups-polld.html \
+                       help/man-cupsaddsmb.html \
+                       help/man-cupsd.conf.html \
+                       help/man-cupsd.html \
+                       help/man-cupsenable.html \
+                       help/man-cupstestdsc.html \
                        help/man-cupstestppd.html \
                        help/man-filter.html \
+                       help/man-lp.html \
                        help/man-lpadmin.html \
                        help/man-lpc.html \
-                       help/man-lp.html \
                        help/man-lpinfo.html \
                        help/man-lpmove.html \
                        help/man-lpoptions.html \
@@ -128,11 +87,34 @@ HELPFILES  =       \
                        help/man-lpr.html \
                        help/man-lprm.html \
                        help/man-lpstat.html \
+                       help/man-mime.convs.html \
+                       help/man-mime.types.html \
+                       help/man-printers.conf.html \
                        help/network.html \
+                       help/options.html \
                        help/overview.html \
+                       help/policies.html \
+                       help/ref-access_log.html \
+                       help/ref-classes-conf.html \
+                       help/ref-client-conf.html \
+                       help/ref-cupsd-conf.html \
+                       help/ref-error_log.html \
+                       help/ref-mailto-conf.html \
+                       help/ref-page_log.html \
+                       help/ref-printers-conf.html \
+                       help/ref-snmp-conf.html \
+                       help/ref-subscriptions-conf.html \
+                       help/security.html \
+                       help/spec-cmp.html \
+                       help/spec-command.html \
+                       help/spec-design.html \
                        help/spec-ipp.html \
+                       help/spec-postscript.html \
                        help/spec-ppd.html \
+                       help/spec-raster.html \
+                       help/spec-stp.html \
                        help/standard.html \
+                       help/translation.html \
                        help/whatsnew.html
 
 
@@ -151,23 +133,101 @@ clean:
 
 
 #
-# Install all documentation files...
+# Dummy depend target...
 #
 
-install:       all
-       $(INSTALL_DIR) $(DOCDIR)
+depend:
+
+
+#
+# Install all targets...
+#
+
+install:       all install-data install-headers install-libs install-exec
+
+
+#
+# Install data files...
+#
+
+install-data:
+       $(INSTALL_DIR) -m 755 $(DOCDIR)
        for file in $(WEBPAGES); do \
                $(INSTALL_MAN) $$file $(DOCDIR); \
        done
-       $(INSTALL_DIR) $(DOCDIR)/help
+       $(INSTALL_DIR) -m 755 $(DOCDIR)/help
        for file in $(HELPFILES); do \
                $(INSTALL_MAN) $$file $(DOCDIR)/help; \
        done
-       $(INSTALL_DIR) $(DOCDIR)/images
+       $(INSTALL_DIR) -m 755 $(DOCDIR)/images
        for file in $(WEBIMAGES); do \
                $(INSTALL_MAN) $$file $(DOCDIR)/images; \
        done
 
+install-languages:
+       for lang in $(LANGUAGES); do \
+               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; \
+       done
+
+
+#
+# Install programs...
+#
+
+install-exec:
+
+
+#
+# Install headers...
+#
+
+install-headers:
+
+
+#
+# Install libraries...
+#
+
+install-libs:
+
+
+#
+# Unnstall all documentation files...
+#
+
+uninstall: $(UNINSTALL_LANGUAGES)
+       for file in $(WEBPAGES); do \
+               $(RM) $(DOCDIR)/$$file; \
+       done
+       for file in $(HELPFILES); do \
+               $(RM) $(DOCDIR)/$$file; \
+       done
+       for file in $(WEBIMAGES); do \
+               $(RM) $(DOCDIR)/$$file; \
+       done
+       -$(RMDIR) $(DOCDIR)/images
+       -$(RMDIR) $(DOCDIR)/help
+       -$(RMDIR) $(DOCDIR)
+
+uninstall-languages:
+       -for lang in $(LANGUAGES); do \
+               $(RM) $(DOCDIR)/$$lang/index.html; \
+               $(RM) $(DOCDIR)/$$lang/cups.css; \
+               for file in $(WEBIMAGES); do \
+                       $(RM) $(DOCDIR)/$$lang/$$file; \
+               done; \
+               $(RMDIR) $(DOCDIR)/$$lang/images; \
+               $(RMDIR) $(DOCDIR)/$$lang; \
+       done
+
 
 #
 # End of Makefile.