4 # Documentation makefile for CUPS.
6 # Copyright 2007-2014 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/".
23 apple-touch-icon.png \
29 images
/color-wheel.png \
31 images
/cups-icon.png \
39 images
/cups-block-diagram.png \
40 images
/cups-command-chain.png \
41 images
/cups-postscript-chain.png \
42 images
/cups-raster-chain.png \
44 images
/raster-organization.png \
45 images
/sample-image.png \
48 help
/accounting.html \
52 help
/api-driver.html \
53 help
/api-filedir.html \
54 help
/api-filter.html \
55 help
/api-httpipp.html \
57 help
/api-overview.html \
60 help
/api-raster.html \
65 help
/man-backend.html \
66 help
/man-cancel.html \
67 help
/man-classes.conf.html \
68 help
/man-client.conf.html \
70 help
/man-cups-config.html \
71 help
/man-cups-files.conf.html \
72 help
/man-cups-lpd.html \
73 help
/man-cups-snmp.html \
74 help
/man-cupsaccept.html \
75 help
/man-cupsaddsmb.html \
76 help
/man-cupsd.conf.html \
78 help
/man-cupsd-helper.html \
79 help
/man-cupsenable.html \
80 help
/man-cupstestdsc.html \
81 help
/man-cupstestppd.html \
82 help
/man-filter.html \
83 help
/man-ipptool.html \
84 help
/man-ipptoolfile.html \
86 help
/man-lpadmin.html \
88 help
/man-lpinfo.html \
89 help
/man-lpmove.html \
90 help
/man-lpoptions.html \
94 help
/man-lpstat.html \
95 help
/man-mime.convs.html \
96 help
/man-mime.types.html \
97 help
/man-notifier.html \
99 help
/man-ppdhtml.html \
101 help
/man-ppdmerge.html \
102 help
/man-ppdpo.html \
103 help
/man-printers.conf.html \
104 help
/man-subscriptions.conf.html \
109 help
/postscript-driver.html \
110 help
/ppd-compiler.html \
111 help
/raster-driver.html \
112 help
/ref-access_log.html \
113 help
/ref-error_log.html \
114 help
/ref-mailto-conf.html \
115 help
/ref-page_log.html \
116 help
/ref-ppdcfile.html \
117 help
/ref-snmp-conf.html \
120 help
/spec-banner.html \
122 help
/spec-command.html \
123 help
/spec-design.html \
126 help
/spec-postscript.html \
128 help
/spec-raster.html \
130 help
/translation.html \
135 # Make all documents...
142 # Make library targets...
156 # Remove all generated files...
163 # Dummy depend target...
170 # Install all targets...
173 install: all install-data install-headers install-libs install-exec
177 # Install data files...
180 install-data
: $(INSTALL_LANGUAGES
)
181 $(INSTALL_DIR
) -m
755 $(DOCDIR
)
182 for file in
$(WEBPAGES
); do \
183 $(INSTALL_MAN
) $$file $(DOCDIR
); \
185 $(INSTALL_DIR
) -m
755 $(DOCDIR
)/help
186 for file in
$(HELPFILES
); do \
187 $(INSTALL_MAN
) $$file $(DOCDIR
)/help
; \
189 $(INSTALL_DIR
) -m
755 $(DOCDIR
)/images
190 for file in
$(WEBIMAGES
) $(HELPIMAGES
); do \
191 $(INSTALL_MAN
) $$file $(DOCDIR
)/images
; \
195 for lang in
$(LANGUAGES
); do \
196 if
test -d
$$lang; then \
197 $(INSTALL_DIR
) -m
755 $(DOCDIR
)/$$lang; \
198 $(INSTALL_DATA
) $$lang/index.html
$(DOCDIR
)/$$lang; \
199 $(INSTALL_DATA
) $$lang/cups.css
$(DOCDIR
)/$$lang >/dev
/null
2>&1 || true
; \
207 # Install programs...
221 # Install libraries...
228 # Uninstall all documentation files...
231 uninstall: $(UNINSTALL_LANGUAGES
)
232 for file in
$(WEBPAGES
); do \
233 $(RM
) $(DOCDIR
)/$$file; \
235 for file in
$(HELPFILES
); do \
236 $(RM
) $(DOCDIR
)/$$file; \
238 for file in
$(WEBIMAGES
); do \
239 $(RM
) $(DOCDIR
)/$$file; \
241 -$(RMDIR
) $(DOCDIR
)/images
242 -$(RMDIR
) $(DOCDIR
)/help
246 -for lang in
$(LANGUAGES
); do \
247 $(RM
) $(DOCDIR
)/$$lang/index.html
; \
248 $(RM
) $(DOCDIR
)/$$lang/cups.css
; \
249 $(RMDIR
) $(DOCDIR
)/$$lang; \
256 # Install the docset bits locally...
260 cp
$(HELPFILES
) ..
/org.cups.docset
/Contents
/Resources
/Documentation
/help
261 cp cups-printable.css ..
/org.cups.docset
/Contents
/Resources
/Documentation
262 cp
$(HELPIMAGES
) ..
/org.cups.docset
/Contents
/Resources
/Documentation
/images