4 # Documentation makefile for CUPS.
6 # Copyright 2007-2012 by Apple Inc.
7 # Copyright 1997-2007 by Easy Software Products.
9 # These coded instructions, statements, and computer programs are the
10 # property of Apple Inc. and are protected by Federal copyright
11 # law. Distribution and use rights are outlined in the file "LICENSE.txt"
12 # which should have been included with this file. If this file is
13 # file is missing or damaged, see the license at "http://www.cups.org/".
28 images
/color-wheel.png \
30 images
/cups-icon.png \
38 images
/cups-block-diagram.png \
39 images
/cups-command-chain.png \
40 images
/cups-postscript-chain.png \
41 images
/cups-raster-chain.png \
43 images
/raster-organization.png \
44 images
/sample-image.png \
47 help
/accounting.html \
51 help
/api-driver.html \
52 help
/api-filedir.html \
53 help
/api-filter.html \
54 help
/api-httpipp.html \
56 help
/api-overview.html \
59 help
/api-raster.html \
64 help
/man-cupsaccept.html \
65 help
/man-backend.html \
66 help
/man-cancel.html \
67 help
/man-cups-config.html \
68 help
/man-cups-lpd.html \
69 help
/man-cups-snmp.html \
70 help
/man-cupsaddsmb.html \
72 help
/man-cupsenable.html \
73 help
/man-cupstestdsc.html \
74 help
/man-cupstestppd.html \
75 help
/man-filter.html \
76 help
/man-ipptool.html \
77 help
/man-ipptoolfile.html \
79 help
/man-lpadmin.html \
81 help
/man-lpinfo.html \
82 help
/man-lpmove.html \
83 help
/man-lpoptions.html \
84 help
/man-lppasswd.html \
88 help
/man-lpstat.html \
89 help
/man-mime.convs.html \
90 help
/man-mime.types.html \
91 help
/man-notifier.html \
93 help
/man-ppdhtml.html \
95 help
/man-ppdmerge.html \
101 help
/postscript-driver.html \
102 help
/ppd-compiler.html \
103 help
/raster-driver.html \
104 help
/ref-access_log.html \
105 help
/ref-classes-conf.html \
106 help
/ref-client-conf.html \
107 help
/ref-cupsd-conf.html \
108 help
/ref-cups-files-conf.html \
109 help
/ref-error_log.html \
110 help
/ref-mailto-conf.html \
111 help
/ref-page_log.html \
112 help
/ref-ppdcfile.html \
113 help
/ref-printers-conf.html \
114 help
/ref-snmp-conf.html \
115 help
/ref-subscriptions-conf.html \
118 help
/spec-banner.html \
120 help
/spec-command.html \
121 help
/spec-design.html \
124 help
/spec-postscript.html \
126 help
/spec-raster.html \
129 help
/translation.html \
134 # Make all documents...
141 # Make library targets...
155 # Remove all generated files...
162 # Dummy depend target...
169 # Install all targets...
172 install: all install-data install-headers install-libs install-exec
176 # Install data files...
179 install-data
: $(INSTALL_LANGUAGES
)
180 $(INSTALL_DIR
) -m
755 $(DOCDIR
)
181 for file in
$(WEBPAGES
); do \
182 $(INSTALL_MAN
) $$file $(DOCDIR
); \
184 $(INSTALL_DIR
) -m
755 $(DOCDIR
)/help
185 for file in
$(HELPFILES
); do \
186 $(INSTALL_MAN
) $$file $(DOCDIR
)/help
; \
188 $(INSTALL_DIR
) -m
755 $(DOCDIR
)/images
189 for file in
$(WEBIMAGES
) $(HELPIMAGES
); do \
190 $(INSTALL_MAN
) $$file $(DOCDIR
)/images
; \
194 for lang in
$(LANGUAGES
); do \
195 if
test -d
$$lang; then \
196 $(INSTALL_DIR
) -m
755 $(DOCDIR
)/$$lang; \
197 $(INSTALL_DATA
) $$lang/index.html
$(DOCDIR
)/$$lang; \
198 $(INSTALL_DATA
) $$lang/cups.css
$(DOCDIR
)/$$lang >/dev
/null
2>&1 || true
; \
206 # Install programs...
220 # Install libraries...
227 # Uninstall all documentation files...
230 uninstall: $(UNINSTALL_LANGUAGES
)
231 for file in
$(WEBPAGES
); do \
232 $(RM
) $(DOCDIR
)/$$file; \
234 for file in
$(HELPFILES
); do \
235 $(RM
) $(DOCDIR
)/$$file; \
237 for file in
$(WEBIMAGES
); do \
238 $(RM
) $(DOCDIR
)/$$file; \
240 -$(RMDIR
) $(DOCDIR
)/images
241 -$(RMDIR
) $(DOCDIR
)/help
245 -for lang in
$(LANGUAGES
); do \
246 $(RM
) $(DOCDIR
)/$$lang/index.html
; \
247 $(RM
) $(DOCDIR
)/$$lang/cups.css
; \
248 $(RMDIR
) $(DOCDIR
)/$$lang; \
255 # Install the docset bits locally...
259 cp
$(HELPFILES
) ..
/org.cups.docset
/Contents
/Resources
/Documentation
/help
260 cp cups-printable.css ..
/org.cups.docset
/Contents
/Resources
/Documentation
261 cp
$(HELPIMAGES
) ..
/org.cups.docset
/Contents
/Resources
/Documentation
/images