2 # Documentation makefile for CUPS.
4 # Copyright © 2007-2019 by Apple Inc.
5 # Copyright © 1997-2007 by Easy Software Products.
7 # Licensed under Apache License v2.0. See the file "LICENSE" for more
18 apple-touch-icon.png \
24 images
/color-wheel.png \
26 images
/cups-icon.png \
34 images
/cups-block-diagram.png \
35 images
/cups-command-chain.png \
36 images
/cups-postscript-chain.png \
37 images
/cups-raster-chain.png \
39 images
/raster-organization.png \
40 images
/sample-image.png \
43 help
/accounting.html \
46 help
/api-filter.html \
48 help
/api-raster.html \
51 help
/encryption.html \
56 help
/man-backend.html \
57 help
/man-cancel.html \
58 help
/man-classes.conf.html \
59 help
/man-client.conf.html \
61 help
/man-cups-config.html \
62 help
/man-cups-files.conf.html \
63 help
/man-cups-lpd.html \
64 help
/man-cups-snmp.html \
65 help
/man-cupsaccept.html \
66 help
/man-cupsd.conf.html \
68 help
/man-cupsd-helper.html \
69 help
/man-cupsd-logs.html \
70 help
/man-cupsenable.html \
71 help
/man-cupstestppd.html \
72 help
/man-filter.html \
73 help
/man-ippeveprinter.html \
74 help
/man-ipptool.html \
75 help
/man-ipptoolfile.html \
77 help
/man-lpadmin.html \
79 help
/man-lpinfo.html \
80 help
/man-lpmove.html \
81 help
/man-lpoptions.html \
85 help
/man-lpstat.html \
86 help
/man-mime.convs.html \
87 help
/man-mime.types.html \
88 help
/man-notifier.html \
90 help
/man-ppdhtml.html \
92 help
/man-ppdmerge.html \
94 help
/man-printers.conf.html \
95 help
/man-subscriptions.conf.html \
100 help
/postscript-driver.html \
101 help
/ppd-compiler.html \
102 help
/raster-driver.html \
103 help
/ref-ppdcfile.html \
106 help
/spec-banner.html \
107 help
/spec-command.html \
108 help
/spec-design.html \
111 help
/spec-raster.html \
113 help
/translation.html
117 # Make all documents...
124 # Make library targets...
138 # Remove all generated files...
145 # Dummy depend target...
152 # Install all targets...
155 install: all install-data install-headers install-libs install-exec
159 # Install data files...
162 install-data
: $(INSTALL_LANGUAGES
)
163 $(INSTALL_DIR
) -m
755 $(DOCDIR
)
164 for file in
$(WEBPAGES
); do \
165 $(INSTALL_MAN
) $$file $(DOCDIR
); \
167 $(INSTALL_DIR
) -m
755 $(DOCDIR
)/help
168 for file in
$(HELPFILES
); do \
169 $(INSTALL_MAN
) $$file $(DOCDIR
)/help
; \
171 if
test "x$(IPPFIND_MAN)" != x
; then \
172 $(INSTALL_MAN
) man-ippfind.html
$(DOCDIR
)/help
; \
174 $(INSTALL_DIR
) -m
755 $(DOCDIR
)/images
175 for file in
$(WEBIMAGES
) $(HELPIMAGES
); do \
176 $(INSTALL_MAN
) $$file $(DOCDIR
)/images
; \
180 for lang in
$(LANGUAGES
); do \
181 if
test -d
$$lang; then \
182 $(INSTALL_DIR
) -m
755 $(DOCDIR
)/$$lang; \
183 $(INSTALL_DATA
) $$lang/index.html
$(DOCDIR
)/$$lang; \
184 $(INSTALL_DATA
) $$lang/cups.css
$(DOCDIR
)/$$lang >/dev
/null
2>&1 || true
; \
192 # Install programs...
206 # Install libraries...
213 # Uninstall all documentation files...
216 uninstall: $(UNINSTALL_LANGUAGES
)
217 for file in
$(WEBPAGES
); do \
218 $(RM
) $(DOCDIR
)/$$file; \
220 for file in
$(HELPFILES
); do \
221 $(RM
) $(DOCDIR
)/help
/$$file; \
223 if
test "x$(IPPFIND_MAN)" != x
; then \
224 $(RM
) $(DOCDIR
)/help
/man-ippfind.html
; \
226 for file in
$(WEBIMAGES
); do \
227 $(RM
) $(DOCDIR
)/images
/$$file; \
229 -$(RMDIR
) $(DOCDIR
)/images
230 -$(RMDIR
) $(DOCDIR
)/help
234 -for lang in
$(LANGUAGES
); do \
235 $(RM
) $(DOCDIR
)/$$lang/index.html
; \
236 $(RM
) $(DOCDIR
)/$$lang/cups.css
; \
237 $(RMDIR
) $(DOCDIR
)/$$lang; \
244 # Install the docset bits locally...
248 cp
$(HELPFILES
) ..
/org.cups.docset
/Contents
/Resources
/Documentation
/help
249 cp cups-printable.css ..
/org.cups.docset
/Contents
/Resources
/Documentation
250 cp
$(HELPIMAGES
) ..
/org.cups.docset
/Contents
/Resources
/Documentation
/images