2 # "$Id: Makefile 7941 2008-09-16 00:46:13Z mike $"
4 # Documentation makefile for the Common UNIX Printing System (CUPS).
6 # Copyright 2007-2008 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/".
29 images
/color-wheel.png \
31 images
/cups-block-diagram.gif \
32 images
/cups-command-chain.png \
33 images
/cups-icon.png \
34 images
/cups-postscript-chain.png \
35 images
/cups-raster-chain.png \
44 help
/accounting.html \
47 help
/api-filedir.html \
48 help
/api-filter.html \
49 help
/api-httpipp.html \
50 help
/api-overview.html \
52 help
/api-raster.html \
57 help
/man-cupsaccept.html \
58 help
/man-backend.html \
59 help
/man-cancel.html \
60 help
/man-cups-config.html \
61 help
/man-cups-lpd.html \
62 help
/man-cups-polld.html \
63 help
/man-cupsaddsmb.html \
65 help
/man-cupsenable.html \
66 help
/man-cupstestdsc.html \
67 help
/man-cupstestppd.html \
69 help
/man-filter.html \
71 help
/man-lpadmin.html \
73 help
/man-lpinfo.html \
74 help
/man-lpmove.html \
75 help
/man-lpoptions.html \
76 help
/man-lppasswd.html \
80 help
/man-lpstat.html \
81 help
/man-mime.convs.html \
82 help
/man-mime.types.html \
84 help
/man-ppdhtml.html \
86 help
/man-ppdmerge.html \
92 help
/postscript-driver.html \
93 help
/ppd-compiler.html \
94 help
/raster-driver.html \
95 help
/ref-access_log.html \
96 help
/ref-classes-conf.html \
97 help
/ref-client-conf.html \
98 help
/ref-cupsd-conf.html \
99 help
/ref-error_log.html \
100 help
/ref-mailto-conf.html \
101 help
/ref-page_log.html \
102 help
/ref-ppdcfile.html \
103 help
/ref-printers-conf.html \
104 help
/ref-snmp-conf.html \
105 help
/ref-subscriptions-conf.html \
108 help
/spec-banner.html \
109 help
/spec-browsing.html \
111 help
/spec-command.html \
112 help
/spec-design.html \
114 help
/spec-postscript.html \
116 help
/spec-raster.html \
119 help
/translation.html \
124 # Make all documents...
131 # Make library targets...
145 # Remove all generated files...
152 # Dummy depend target...
159 # Install all targets...
162 install: all install-data install-headers install-libs install-exec
166 # Install data files...
169 install-data
: $(INSTALL_LANGUAGES
)
170 $(INSTALL_DIR
) -m
755 $(DOCDIR
)
171 for file in
$(WEBPAGES
); do \
172 $(INSTALL_MAN
) $$file $(DOCDIR
); \
174 $(INSTALL_DIR
) -m
755 $(DOCDIR
)/help
175 for file in
$(HELPFILES
); do \
176 $(INSTALL_MAN
) $$file $(DOCDIR
)/help
; \
178 $(INSTALL_DIR
) -m
755 $(DOCDIR
)/images
179 for file in
$(WEBIMAGES
); do \
180 $(INSTALL_MAN
) $$file $(DOCDIR
)/images
; \
184 for lang in
$(LANGUAGES
); do \
185 if
test -d
$$lang; then \
186 $(INSTALL_DIR
) -m
755 $(DOCDIR
)/$$lang; \
187 $(INSTALL_MAN
) $$lang/index.html
$(DOCDIR
)/$$lang; \
188 $(INSTALL_MAN
) $$lang/cups.css
$(DOCDIR
)/$$lang 2>/dev
/null || true
; \
194 # Install programs...
208 # Install libraries...
215 # Uninstall all documentation files...
218 uninstall: $(UNINSTALL_LANGUAGES
)
219 for file in
$(WEBPAGES
); do \
220 $(RM
) $(DOCDIR
)/$$file; \
222 for file in
$(HELPFILES
); do \
223 $(RM
) $(DOCDIR
)/$$file; \
225 for file in
$(WEBIMAGES
); do \
226 $(RM
) $(DOCDIR
)/$$file; \
228 -$(RMDIR
) $(DOCDIR
)/images
229 -$(RMDIR
) $(DOCDIR
)/help
233 -for lang in
$(LANGUAGES
); do \
234 $(RM
) $(DOCDIR
)/$$lang/index.html
; \
235 $(RM
) $(DOCDIR
)/$$lang/cups.css
; \
236 $(RMDIR
) $(DOCDIR
)/$$lang; \