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/".
30 images
/cups-block-diagram.gif \
31 images
/cups-icon.png \
38 images
/web-add-this-printer.gif \
39 images
/web-password.gif \
40 images
/web-printer-driver.gif \
41 images
/web-printer-status.gif \
42 images
/web-set-printer-options.gif \
43 images
/web-test-page.gif
45 help
/accounting.html \
48 help
/api-filedir.html \
49 help
/api-filter.html \
50 help
/api-httpipp.html \
51 help
/api-overview.html \
53 help
/api-raster.html \
58 help
/man-cupsaccept.html \
59 help
/man-backend.html \
60 help
/man-cancel.html \
61 help
/man-classes.conf.html \
62 help
/man-client.conf.html \
63 help
/man-cups-config.html \
64 help
/man-cups-lpd.html \
65 help
/man-cups-polld.html \
66 help
/man-cupsaddsmb.html \
67 help
/man-cupsd.conf.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-printers.conf.html \
92 help
/ref-access_log.html \
93 help
/ref-classes-conf.html \
94 help
/ref-client-conf.html \
95 help
/ref-cupsd-conf.html \
96 help
/ref-error_log.html \
97 help
/ref-mailto-conf.html \
98 help
/ref-page_log.html \
99 help
/ref-ppdcfile.html \
100 help
/ref-printers-conf.html \
101 help
/ref-snmp-conf.html \
102 help
/ref-subscriptions-conf.html \
104 help
/spec-banner.html \
105 help
/spec-browsing.html \
107 help
/spec-command.html \
108 help
/spec-design.html \
110 help
/spec-postscript.html \
112 help
/spec-raster.html \
115 help
/translation.html \
120 # Make all documents...
127 # Make library targets...
141 # Remove all generated files...
148 # Dummy depend target...
155 # Install all targets...
158 install: all install-data install-headers install-libs install-exec
162 # Install data files...
166 $(INSTALL_DIR
) -m
755 $(DOCDIR
)
167 for file in
$(WEBPAGES
); do \
168 $(INSTALL_MAN
) $$file $(DOCDIR
); \
170 $(INSTALL_DIR
) -m
755 $(DOCDIR
)/help
171 for file in
$(HELPFILES
); do \
172 $(INSTALL_MAN
) $$file $(DOCDIR
)/help
; \
174 $(INSTALL_DIR
) -m
755 $(DOCDIR
)/images
175 for file in
$(WEBIMAGES
); do \
176 $(INSTALL_MAN
) $$file $(DOCDIR
)/images
; \
180 for lang in
$(LANGUAGES
); do \
181 if
test -d
$$lang; then \
182 $(INSTALL_DIR
) -m
755 $(DOCDIR
)/$$lang/images
; \
183 $(INSTALL_MAN
) $$lang/index.html
$(DOCDIR
)/$$lang; \
184 $(INSTALL_MAN
) $$lang/cups.css
$(DOCDIR
)/$$lang 2>/dev
/null || true
; \
185 $(INSTALL_DIR
) -m
755 $(DOCDIR
)/$$lang/images
; \
186 for file in
$(WEBIMAGES
); do \
187 $(INSTALL_MAN
) $$lang/$$file $(DOCDIR
)/$$lang/images
2>/dev
/null || true
; \
194 # Install programs...
208 # Install libraries...
215 # Unnstall 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 for file in
$(WEBIMAGES
); do \
237 $(RM
) $(DOCDIR
)/$$lang/$$file; \
239 $(RMDIR
) $(DOCDIR
)/$$lang/images
; \
240 $(RMDIR
) $(DOCDIR
)/$$lang; \