2 # "$Id: Makefile 7601 2008-05-20 21:08:08Z 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 \
34 images
/printer-idle.png \
35 images
/printer-processing.png \
36 images
/printer-stopped.png \
42 images
/web-add-this-printer.gif \
43 images
/web-password.gif \
44 images
/web-printer-driver.gif \
45 images
/web-printer-status.gif \
46 images
/web-set-printer-options.gif \
47 images
/web-test-page.gif
49 help
/accounting.html \
52 help
/api-filedir.html \
53 help
/api-filter.html \
54 help
/api-httpipp.html \
55 help
/api-overview.html \
57 help
/api-raster.html \
62 help
/man-accept.html \
63 help
/man-backend.html \
64 help
/man-cancel.html \
65 help
/man-classes.conf.html \
66 help
/man-client.conf.html \
67 help
/man-cups-config.html \
68 help
/man-cups-lpd.html \
69 help
/man-cups-polld.html \
70 help
/man-cupsaddsmb.html \
71 help
/man-cupsd.conf.html \
73 help
/man-cupsenable.html \
74 help
/man-cupstestdsc.html \
75 help
/man-cupstestppd.html \
77 help
/man-filter.html \
79 help
/man-lpadmin.html \
81 help
/man-lpinfo.html \
82 help
/man-lpmove.html \
83 help
/man-lpoptions.html \
84 help
/man-lppasswd.html \
88 help
/man-lpstat.html \
89 help
/man-mime.convs.html \
90 help
/man-mime.types.html \
91 help
/man-printers.conf.html \
96 help
/ref-access_log.html \
97 help
/ref-classes-conf.html \
98 help
/ref-client-conf.html \
99 help
/ref-cupsd-conf.html \
100 help
/ref-error_log.html \
101 help
/ref-mailto-conf.html \
102 help
/ref-page_log.html \
103 help
/ref-ppdcfile.html \
104 help
/ref-printers-conf.html \
105 help
/ref-snmp-conf.html \
106 help
/ref-subscriptions-conf.html \
109 help
/spec-command.html \
110 help
/spec-design.html \
112 help
/spec-postscript.html \
114 help
/spec-raster.html \
117 help
/translation.html \
122 # Make all documents...
129 # Make library targets...
143 # Remove all generated files...
150 # Dummy depend target...
157 # Install all targets...
160 install: all install-data install-headers install-libs install-exec
164 # Install data files...
168 $(INSTALL_DIR
) -m
755 $(DOCDIR
)
169 for file in
$(WEBPAGES
); do \
170 $(INSTALL_MAN
) $$file $(DOCDIR
); \
172 $(INSTALL_DIR
) -m
755 $(DOCDIR
)/help
173 for file in
$(HELPFILES
); do \
174 $(INSTALL_MAN
) $$file $(DOCDIR
)/help
; \
176 $(INSTALL_DIR
) -m
755 $(DOCDIR
)/images
177 for file in
$(WEBIMAGES
); do \
178 $(INSTALL_MAN
) $$file $(DOCDIR
)/images
; \
182 for lang in
$(LANGUAGES
); do \
183 if
test -d
$$lang; then \
184 $(INSTALL_DIR
) -m
755 $(DOCDIR
)/$$lang/images
; \
185 $(INSTALL_MAN
) $$lang/index.html
$(DOCDIR
)/$$lang; \
186 $(INSTALL_MAN
) $$lang/cups.css
$(DOCDIR
)/$$lang 2>/dev
/null || true
; \
187 $(INSTALL_DIR
) -m
755 $(DOCDIR
)/$$lang/images
; \
188 for file in
$(WEBIMAGES
); do \
189 $(INSTALL_MAN
) $$lang/$$file $(DOCDIR
)/$$lang/images
2>/dev
/null || true
; \
196 # Install programs...
210 # Install libraries...
217 # Unnstall all documentation files...
220 uninstall: $(UNINSTALL_LANGUAGES
)
221 for file in
$(WEBPAGES
); do \
222 $(RM
) $(DOCDIR
)/$$file; \
224 for file in
$(HELPFILES
); do \
225 $(RM
) $(DOCDIR
)/$$file; \
227 for file in
$(WEBIMAGES
); do \
228 $(RM
) $(DOCDIR
)/$$file; \
230 -$(RMDIR
) $(DOCDIR
)/images
231 -$(RMDIR
) $(DOCDIR
)/help
235 -for lang in
$(LANGUAGES
); do \
236 $(RM
) $(DOCDIR
)/$$lang/index.html
; \
237 $(RM
) $(DOCDIR
)/$$lang/cups.css
; \
238 for file in
$(WEBIMAGES
); do \
239 $(RM
) $(DOCDIR
)/$$lang/$$file; \
241 $(RMDIR
) $(DOCDIR
)/$$lang/images
; \
242 $(RMDIR
) $(DOCDIR
)/$$lang; \