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/".
31 images
/cups-block-diagram.gif \
32 images
/cups-icon.png \
41 help
/accounting.html \
44 help
/api-filedir.html \
45 help
/api-filter.html \
46 help
/api-httpipp.html \
47 help
/api-overview.html \
49 help
/api-raster.html \
54 help
/man-cupsaccept.html \
55 help
/man-backend.html \
56 help
/man-cancel.html \
57 help
/man-classes.conf.html \
58 help
/man-client.conf.html \
59 help
/man-cups-config.html \
60 help
/man-cups-lpd.html \
61 help
/man-cups-polld.html \
62 help
/man-cupsaddsmb.html \
63 help
/man-cupsd.conf.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 \
83 help
/man-printers.conf.html \
88 help
/ref-access_log.html \
89 help
/ref-classes-conf.html \
90 help
/ref-client-conf.html \
91 help
/ref-cupsd-conf.html \
92 help
/ref-error_log.html \
93 help
/ref-mailto-conf.html \
94 help
/ref-page_log.html \
95 help
/ref-ppdcfile.html \
96 help
/ref-printers-conf.html \
97 help
/ref-snmp-conf.html \
98 help
/ref-subscriptions-conf.html \
100 help
/spec-banner.html \
101 help
/spec-browsing.html \
103 help
/spec-command.html \
104 help
/spec-design.html \
106 help
/spec-postscript.html \
108 help
/spec-raster.html \
111 help
/translation.html \
116 # Make all documents...
123 # Make library targets...
137 # Remove all generated files...
144 # Dummy depend target...
151 # Install all targets...
154 install: all install-data install-headers install-libs install-exec
158 # Install data files...
162 $(INSTALL_DIR
) -m
755 $(DOCDIR
)
163 for file in
$(WEBPAGES
); do \
164 $(INSTALL_MAN
) $$file $(DOCDIR
); \
166 $(INSTALL_DIR
) -m
755 $(DOCDIR
)/help
167 for file in
$(HELPFILES
); do \
168 $(INSTALL_MAN
) $$file $(DOCDIR
)/help
; \
170 $(INSTALL_DIR
) -m
755 $(DOCDIR
)/images
171 for file in
$(WEBIMAGES
); do \
172 $(INSTALL_MAN
) $$file $(DOCDIR
)/images
; \
176 for lang in
$(LANGUAGES
); do \
177 if
test -d
$$lang; then \
178 $(INSTALL_DIR
) -m
755 $(DOCDIR
)/$$lang/images
; \
179 $(INSTALL_MAN
) $$lang/index.html
$(DOCDIR
)/$$lang; \
180 $(INSTALL_MAN
) $$lang/cups.css
$(DOCDIR
)/$$lang 2>/dev
/null || true
; \
181 $(INSTALL_DIR
) -m
755 $(DOCDIR
)/$$lang/images
; \
182 for file in
$(WEBIMAGES
); do \
183 $(INSTALL_MAN
) $$lang/$$file $(DOCDIR
)/$$lang/images
2>/dev
/null || true
; \
190 # Install programs...
204 # Install libraries...
211 # Unnstall all documentation files...
214 uninstall: $(UNINSTALL_LANGUAGES
)
215 for file in
$(WEBPAGES
); do \
216 $(RM
) $(DOCDIR
)/$$file; \
218 for file in
$(HELPFILES
); do \
219 $(RM
) $(DOCDIR
)/$$file; \
221 for file in
$(WEBIMAGES
); do \
222 $(RM
) $(DOCDIR
)/$$file; \
224 -$(RMDIR
) $(DOCDIR
)/images
225 -$(RMDIR
) $(DOCDIR
)/help
229 -for lang in
$(LANGUAGES
); do \
230 $(RM
) $(DOCDIR
)/$$lang/index.html
; \
231 $(RM
) $(DOCDIR
)/$$lang/cups.css
; \
232 for file in
$(WEBIMAGES
); do \
233 $(RM
) $(DOCDIR
)/$$lang/$$file; \
235 $(RMDIR
) $(DOCDIR
)/$$lang/images
; \
236 $(RMDIR
) $(DOCDIR
)/$$lang; \