2 # "$Id: Makefile 7941 2008-09-16 00:46:13Z mike $"
4 # Documentation makefile for the Common UNIX Printing System (CUPS).
6 # Copyright 2007-2009 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 \
37 images
/cups-block-diagram.png \
38 images
/cups-command-chain.png \
39 images
/cups-postscript-chain.png \
40 images
/cups-raster-chain.png \
44 help
/accounting.html \
48 help
/api-driver.html \
49 help
/api-filedir.html \
50 help
/api-filter.html \
51 help
/api-httpipp.html \
53 help
/api-overview.html \
56 help
/api-raster.html \
61 help
/man-cupsaccept.html \
62 help
/man-backend.html \
63 help
/man-cancel.html \
64 help
/man-cups-config.html \
65 help
/man-cups-lpd.html \
66 help
/man-cups-polld.html \
67 help
/man-cupsaddsmb.html \
69 help
/man-cupsenable.html \
70 help
/man-cupstestdsc.html \
71 help
/man-cupstestppd.html \
73 help
/man-filter.html \
75 help
/man-lpadmin.html \
77 help
/man-lpinfo.html \
78 help
/man-lpmove.html \
79 help
/man-lpoptions.html \
80 help
/man-lppasswd.html \
84 help
/man-lpstat.html \
85 help
/man-mime.convs.html \
86 help
/man-mime.types.html \
87 help
/man-notifier.html \
89 help
/man-ppdhtml.html \
91 help
/man-ppdmerge.html \
97 help
/postscript-driver.html \
98 help
/ppd-compiler.html \
99 help
/raster-driver.html \
100 help
/ref-access_log.html \
101 help
/ref-classes-conf.html \
102 help
/ref-client-conf.html \
103 help
/ref-cupsd-conf.html \
104 help
/ref-error_log.html \
105 help
/ref-mailto-conf.html \
106 help
/ref-page_log.html \
107 help
/ref-ppdcfile.html \
108 help
/ref-printers-conf.html \
109 help
/ref-snmp-conf.html \
110 help
/ref-subscriptions-conf.html \
113 help
/spec-banner.html \
114 help
/spec-browsing.html \
116 help
/spec-command.html \
117 help
/spec-design.html \
120 help
/spec-postscript.html \
122 help
/spec-raster.html \
125 help
/translation.html \
130 # Make all documents...
137 # Make library targets...
151 # Remove all generated files...
158 # Dummy depend target...
165 # Install all targets...
168 install: all install-data install-headers install-libs install-exec
172 # Install data files...
175 install-data
: $(INSTALL_LANGUAGES
)
176 $(INSTALL_DIR
) -m
755 $(DOCDIR
)
177 for file in
$(WEBPAGES
); do \
178 $(INSTALL_MAN
) $$file $(DOCDIR
); \
180 $(INSTALL_DIR
) -m
755 $(DOCDIR
)/help
181 for file in
$(HELPFILES
); do \
182 $(INSTALL_MAN
) $$file $(DOCDIR
)/help
; \
184 $(INSTALL_DIR
) -m
755 $(DOCDIR
)/images
185 for file in
$(WEBIMAGES
) $(HELPIMAGES
); do \
186 $(INSTALL_MAN
) $$file $(DOCDIR
)/images
; \
190 for lang in
$(LANGUAGES
); do \
191 if
test -d
$$lang; then \
192 $(INSTALL_DIR
) -m
755 $(DOCDIR
)/$$lang; \
193 $(INSTALL_DATA
) $$lang/index.html
$(DOCDIR
)/$$lang; \
194 $(INSTALL_DATA
) $$lang/cups.css
$(DOCDIR
)/$$lang >/dev
/null
2>&1 || true
; \
200 # Install programs...
214 # Install libraries...
221 # Uninstall all documentation files...
224 uninstall: $(UNINSTALL_LANGUAGES
)
225 for file in
$(WEBPAGES
); do \
226 $(RM
) $(DOCDIR
)/$$file; \
228 for file in
$(HELPFILES
); do \
229 $(RM
) $(DOCDIR
)/$$file; \
231 for file in
$(WEBIMAGES
); do \
232 $(RM
) $(DOCDIR
)/$$file; \
234 -$(RMDIR
) $(DOCDIR
)/images
235 -$(RMDIR
) $(DOCDIR
)/help
239 -for lang in
$(LANGUAGES
); do \
240 $(RM
) $(DOCDIR
)/$$lang/index.html
; \
241 $(RM
) $(DOCDIR
)/$$lang/cups.css
; \
242 $(RMDIR
) $(DOCDIR
)/$$lang; \
247 # Install the docset bits locally...
251 cp
$(HELPFILES
) ..
/org.cups.docset
/Contents
/Resources
/Documentation
/help
252 cp cups-printable.css ..
/org.cups.docset
/Contents
/Resources
/Documentation
253 cp
$(HELPIMAGES
) ..
/org.cups.docset
/Contents
/Resources
/Documentation
/images