X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=doc%2FMakefile;h=db6adad141ddf4c9443cf806bff9aa8bd009f9f1;hb=2909c66c504b0e527d6b032486ecfa8faffd3d07;hp=2be1141c9923427c98f4974348b8170afe7e3d89;hpb=b9faaae17cfc7cd8dfd6e82cf607c05b2f4def68;p=thirdparty%2Fcups.git diff --git a/doc/Makefile b/doc/Makefile index 2be1141c9..db6adad14 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -1,16 +1,16 @@ # -# "$Id: Makefile 7941 2008-09-16 00:46:13Z mike $" +# "$Id$" # -# Documentation makefile for the Common UNIX Printing System (CUPS). +# Documentation makefile for CUPS. # -# Copyright 2007-2008 by Apple Inc. -# Copyright 1997-2007 by Easy Software Products. +# Copyright 2007-2014 by Apple Inc. +# Copyright 1997-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 @@ -20,66 +20,76 @@ include ../Makedefs # WEBPAGES = \ + apple-touch-icon.png \ cups.css \ cups-printable.css \ - favicon.png \ index.html \ robots.txt WEBIMAGES = \ images/color-wheel.png \ images/cups.png \ - images/cups-block-diagram.gif \ - images/cups-command-chain.png \ images/cups-icon.png \ - images/cups-postscript-chain.png \ - images/cups-raster-chain.png \ + images/generic.png \ images/left.gif \ - images/raster.png \ images/right.gif \ images/sel.gif \ - images/smiley.jpg \ images/unsel.gif \ images/wait.gif +HELPIMAGES = \ + images/cups-block-diagram.png \ + images/cups-command-chain.png \ + images/cups-postscript-chain.png \ + images/cups-raster-chain.png \ + images/raster.png \ + images/raster-organization.png \ + images/sample-image.png \ + images/smiley.jpg HELPFILES = \ help/accounting.html \ help/api-array.html \ + help/api-cgi.html \ help/api-cups.html \ + help/api-driver.html \ help/api-filedir.html \ help/api-filter.html \ help/api-httpipp.html \ + help/api-mime.html \ help/api-overview.html \ help/api-ppd.html \ + help/api-ppdc.html \ help/api-raster.html \ help/cgi.html \ help/glossary.html \ help/kerberos.html \ help/license.html \ - help/man-cupsaccept.html \ help/man-backend.html \ help/man-cancel.html \ + help/man-cups.html \ help/man-cups-config.html \ help/man-cups-lpd.html \ - help/man-cups-polld.html \ + help/man-cups-snmp.html \ + help/man-cupsaccept.html \ help/man-cupsaddsmb.html \ help/man-cupsd.html \ help/man-cupsenable.html \ help/man-cupstestdsc.html \ help/man-cupstestppd.html \ - help/man-drv.html \ help/man-filter.html \ + help/man-ipptool.html \ + help/man-ipptoolfile.html \ help/man-lp.html \ help/man-lpadmin.html \ help/man-lpc.html \ help/man-lpinfo.html \ help/man-lpmove.html \ help/man-lpoptions.html \ - help/man-lppasswd.html \ help/man-lpq.html \ help/man-lpr.html \ help/man-lprm.html \ help/man-lpstat.html \ help/man-mime.convs.html \ help/man-mime.types.html \ + help/man-notifier.html \ help/man-ppdc.html \ help/man-ppdhtml.html \ help/man-ppdi.html \ @@ -96,6 +106,7 @@ HELPFILES = \ help/ref-classes-conf.html \ help/ref-client-conf.html \ help/ref-cupsd-conf.html \ + help/ref-cups-files-conf.html \ help/ref-error_log.html \ help/ref-mailto-conf.html \ help/ref-page_log.html \ @@ -106,16 +117,15 @@ HELPFILES = \ help/security.html \ help/sharing.html \ help/spec-banner.html \ - help/spec-browsing.html \ help/spec-cmp.html \ help/spec-command.html \ help/spec-design.html \ help/spec-ipp.html \ + help/spec-pdf.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 @@ -176,7 +186,7 @@ install-data: $(INSTALL_LANGUAGES) $(INSTALL_MAN) $$file $(DOCDIR)/help; \ done $(INSTALL_DIR) -m 755 $(DOCDIR)/images - for file in $(WEBIMAGES); do \ + for file in $(WEBIMAGES) $(HELPIMAGES); do \ $(INSTALL_MAN) $$file $(DOCDIR)/images; \ done @@ -184,11 +194,13 @@ install-languages: for lang in $(LANGUAGES); do \ if test -d $$lang; then \ $(INSTALL_DIR) -m 755 $(DOCDIR)/$$lang; \ - $(INSTALL_MAN) $$lang/index.html $(DOCDIR)/$$lang; \ - test -f $$lang/cups.css && $(INSTALL_MAN) $$lang/cups.css $(DOCDIR)/$$lang; \ + $(INSTALL_DATA) $$lang/index.html $(DOCDIR)/$$lang; \ + $(INSTALL_DATA) $$lang/cups.css $(DOCDIR)/$$lang >/dev/null 2>&1 || true; \ fi; \ done +install-langbundle: + # # Install programs... @@ -236,6 +248,18 @@ uninstall-languages: $(RMDIR) $(DOCDIR)/$$lang; \ done +install-langbundle: + + +# +# Install the docset bits locally... +# + +docset: + cp $(HELPFILES) ../org.cups.docset/Contents/Resources/Documentation/help + cp cups-printable.css ../org.cups.docset/Contents/Resources/Documentation + cp $(HELPIMAGES) ../org.cups.docset/Contents/Resources/Documentation/images + # # End of Makefile.