2 # Documentation makefile for CUPS.
4 # Copyright 2007-2018 by Apple Inc.
5 # Copyright 1997-2007 by Easy Software Products.
7 # Licensed under Apache License v2.0. See the file "LICENSE" for more information.
17 apple-touch-icon.png \
23 images
/color-wheel.png \
25 images
/cups-icon.png \
33 images
/cups-block-diagram.png \
34 images
/cups-command-chain.png \
35 images
/cups-postscript-chain.png \
36 images
/cups-raster-chain.png \
38 images
/raster-organization.png \
39 images
/sample-image.png \
42 help
/accounting.html \
45 help
/api-filter.html \
47 help
/api-raster.html \
50 help
/encryption.html \
55 help
/man-backend.html \
56 help
/man-cancel.html \
57 help
/man-classes.conf.html \
58 help
/man-client.conf.html \
60 help
/man-cups-config.html \
61 help
/man-cups-files.conf.html \
62 help
/man-cups-lpd.html \
63 help
/man-cups-snmp.html \
64 help
/man-cupsaccept.html \
65 help
/man-cupsd.conf.html \
67 help
/man-cupsd-helper.html \
68 help
/man-cupsd-logs.html \
69 help
/man-cupsenable.html \
70 help
/man-cupstestppd.html \
71 help
/man-filter.html \
72 help
/man-ipptool.html \
73 help
/man-ipptoolfile.html \
75 help
/man-lpadmin.html \
77 help
/man-lpinfo.html \
78 help
/man-lpmove.html \
79 help
/man-lpoptions.html \
83 help
/man-lpstat.html \
84 help
/man-mime.convs.html \
85 help
/man-mime.types.html \
86 help
/man-notifier.html \
88 help
/man-ppdhtml.html \
90 help
/man-ppdmerge.html \
92 help
/man-printers.conf.html \
93 help
/man-subscriptions.conf.html \
98 help
/postscript-driver.html \
99 help
/ppd-compiler.html \
100 help
/raster-driver.html \
101 help
/ref-ppdcfile.html \
104 help
/spec-banner.html \
105 help
/spec-command.html \
106 help
/spec-design.html \
109 help
/spec-raster.html \
111 help
/translation.html
115 # Make all documents...
122 # Make library targets...
136 # Remove all generated files...
143 # Dummy depend target...
150 # Install all targets...
153 install: all install-data install-headers install-libs install-exec
157 # Install data files...
160 install-data
: $(INSTALL_LANGUAGES
)
161 $(INSTALL_DIR
) -m
755 $(DOCDIR
)
162 for file in
$(WEBPAGES
); do \
163 $(INSTALL_MAN
) $$file $(DOCDIR
); \
165 $(INSTALL_DIR
) -m
755 $(DOCDIR
)/help
166 for file in
$(HELPFILES
); do \
167 $(INSTALL_MAN
) $$file $(DOCDIR
)/help
; \
169 $(INSTALL_DIR
) -m
755 $(DOCDIR
)/images
170 for file in
$(WEBIMAGES
) $(HELPIMAGES
); do \
171 $(INSTALL_MAN
) $$file $(DOCDIR
)/images
; \
175 for lang in
$(LANGUAGES
); do \
176 if
test -d
$$lang; then \
177 $(INSTALL_DIR
) -m
755 $(DOCDIR
)/$$lang; \
178 $(INSTALL_DATA
) $$lang/index.html
$(DOCDIR
)/$$lang; \
179 $(INSTALL_DATA
) $$lang/cups.css
$(DOCDIR
)/$$lang >/dev
/null
2>&1 || true
; \
187 # Install programs...
201 # Install libraries...
208 # Uninstall all documentation files...
211 uninstall: $(UNINSTALL_LANGUAGES
)
212 for file in
$(WEBPAGES
); do \
213 $(RM
) $(DOCDIR
)/$$file; \
215 for file in
$(HELPFILES
); do \
216 $(RM
) $(DOCDIR
)/$$file; \
218 for file in
$(WEBIMAGES
); do \
219 $(RM
) $(DOCDIR
)/$$file; \
221 -$(RMDIR
) $(DOCDIR
)/images
222 -$(RMDIR
) $(DOCDIR
)/help
226 -for lang in
$(LANGUAGES
); do \
227 $(RM
) $(DOCDIR
)/$$lang/index.html
; \
228 $(RM
) $(DOCDIR
)/$$lang/cups.css
; \
229 $(RMDIR
) $(DOCDIR
)/$$lang; \
236 # Install the docset bits locally...
240 cp
$(HELPFILES
) ..
/org.cups.docset
/Contents
/Resources
/Documentation
/help
241 cp cups-printable.css ..
/org.cups.docset
/Contents
/Resources
/Documentation
242 cp
$(HELPIMAGES
) ..
/org.cups.docset
/Contents
/Resources
/Documentation
/images