2 # Documentation makefile for CUPS.
4 # Copyright 2007-2016 by Apple Inc.
5 # Copyright 1997-2007 by Easy Software Products.
7 # These coded instructions, statements, and computer programs are the
8 # property of Apple Inc. and are protected by Federal copyright
9 # law. Distribution and use rights are outlined in the file "LICENSE.txt"
10 # which should have been included with this file. If this file is
11 # missing or damaged, see the license at "http://www.cups.org/".
21 apple-touch-icon.png \
27 images
/color-wheel.png \
29 images
/cups-icon.png \
37 images
/cups-block-diagram.png \
38 images
/cups-command-chain.png \
39 images
/cups-postscript-chain.png \
40 images
/cups-raster-chain.png \
42 images
/raster-organization.png \
43 images
/sample-image.png \
46 help
/accounting.html \
48 help
/api-filter.html \
50 help
/api-raster.html \
53 help
/encryption.html \
57 help
/man-backend.html \
58 help
/man-cancel.html \
59 help
/man-classes.conf.html \
60 help
/man-client.conf.html \
62 help
/man-cups-config.html \
63 help
/man-cups-files.conf.html \
64 help
/man-cups-lpd.html \
65 help
/man-cups-snmp.html \
66 help
/man-cupsaccept.html \
67 help
/man-cupsaddsmb.html \
68 help
/man-cupsd.conf.html \
70 help
/man-cupsd-helper.html \
71 help
/man-cupsd-logs.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 \
87 help
/man-lpstat.html \
88 help
/man-mime.convs.html \
89 help
/man-mime.types.html \
90 help
/man-notifier.html \
92 help
/man-ppdhtml.html \
94 help
/man-ppdmerge.html \
96 help
/man-printers.conf.html \
97 help
/man-subscriptions.conf.html \
102 help
/postscript-driver.html \
103 help
/ppd-compiler.html \
104 help
/raster-driver.html \
105 help
/ref-ppdcfile.html \
108 help
/spec-banner.html \
109 help
/spec-command.html \
110 help
/spec-design.html \
113 help
/spec-postscript.html \
115 help
/spec-raster.html \
117 help
/translation.html
121 # Make all documents...
128 # Make library targets...
142 # Remove all generated files...
149 # Dummy depend target...
156 # Install all targets...
159 install: all install-data install-headers install-libs install-exec
163 # Install data files...
166 install-data
: $(INSTALL_LANGUAGES
)
167 $(INSTALL_DIR
) -m
755 $(DOCDIR
)
168 for file in
$(WEBPAGES
); do \
169 $(INSTALL_MAN
) $$file $(DOCDIR
); \
171 $(INSTALL_DIR
) -m
755 $(DOCDIR
)/help
172 for file in
$(HELPFILES
); do \
173 $(INSTALL_MAN
) $$file $(DOCDIR
)/help
; \
175 $(INSTALL_DIR
) -m
755 $(DOCDIR
)/images
176 for file in
$(WEBIMAGES
) $(HELPIMAGES
); do \
177 $(INSTALL_MAN
) $$file $(DOCDIR
)/images
; \
181 for lang in
$(LANGUAGES
); do \
182 if
test -d
$$lang; then \
183 $(INSTALL_DIR
) -m
755 $(DOCDIR
)/$$lang; \
184 $(INSTALL_DATA
) $$lang/index.html
$(DOCDIR
)/$$lang; \
185 $(INSTALL_DATA
) $$lang/cups.css
$(DOCDIR
)/$$lang >/dev
/null
2>&1 || true
; \
193 # Install programs...
207 # Install libraries...
214 # Uninstall all documentation files...
217 uninstall: $(UNINSTALL_LANGUAGES
)
218 for file in
$(WEBPAGES
); do \
219 $(RM
) $(DOCDIR
)/$$file; \
221 for file in
$(HELPFILES
); do \
222 $(RM
) $(DOCDIR
)/$$file; \
224 for file in
$(WEBIMAGES
); do \
225 $(RM
) $(DOCDIR
)/$$file; \
227 -$(RMDIR
) $(DOCDIR
)/images
228 -$(RMDIR
) $(DOCDIR
)/help
232 -for lang in
$(LANGUAGES
); do \
233 $(RM
) $(DOCDIR
)/$$lang/index.html
; \
234 $(RM
) $(DOCDIR
)/$$lang/cups.css
; \
235 $(RMDIR
) $(DOCDIR
)/$$lang; \
242 # Install the docset bits locally...
246 cp
$(HELPFILES
) ..
/org.cups.docset
/Contents
/Resources
/Documentation
/help
247 cp cups-printable.css ..
/org.cups.docset
/Contents
/Resources
/Documentation
248 cp
$(HELPIMAGES
) ..
/org.cups.docset
/Contents
/Resources
/Documentation
/images