]> git.ipfire.org Git - thirdparty/cups.git/blame - doc/Makefile
Merge changes from CUPS 1.4svn-r7255.
[thirdparty/cups.git] / doc / Makefile
CommitLineData
ef416fc2 1#
2e4ff8af 2# "$Id: Makefile 6900 2007-08-30 17:17:51Z mike $"
ef416fc2 3#
4# Documentation makefile for the Common UNIX Printing System (CUPS).
5#
bc44d920 6# Copyright 2007 by Apple Inc.
3d8365b8 7# Copyright 1997-2007 by Easy Software Products.
ef416fc2 8#
9# These coded instructions, statements, and computer programs are the
bc44d920 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/".
ef416fc2 14#
15
16include ../Makedefs
17
18#
19# Document files...
20#
21
4744bd90 22WEBPAGES = \
23 cups.css \
24 cups-printable.css \
2e4ff8af 25 favicon.png \
4744bd90 26 index.html \
27 robots.txt
bd7854cb 28WEBIMAGES = \
2e4ff8af
MS
29 images/classes.png \
30 images/cups.png \
4744bd90 31 images/cups-block-diagram.gif \
2e4ff8af
MS
32 images/cups-icon.png \
33 images/left.gif \
34 images/printer-idle.png \
35 images/printer-processing.png \
36 images/printer-stopped.png \
db1f069b 37 images/raster.png \
2e4ff8af
MS
38 images/right.gif \
39 images/sel.gif \
40 images/shadow.png \
80ca4592 41 images/smiley.jpg \
2e4ff8af
MS
42 images/unsel-hover.gif \
43 images/unsel.gif \
4744bd90 44 images/web-add-this-printer.gif \
45 images/web-password.gif \
46 images/web-printer-driver.gif \
47 images/web-printer-status.gif \
48 images/web-set-printer-options.gif \
49 images/web-test-page.gif
ef416fc2 50HELPFILES = \
09a101d6 51 help/accounting.html \
ef416fc2 52 help/api-array.html \
53 help/api-cups.html \
54 help/api-filedir.html \
55 help/api-filter.html \
56 help/api-httpipp.html \
57 help/api-ppd.html \
b423cd4c 58 help/api-raster.html \
4744bd90 59 help/cgi.html \
60 help/glossary.html \
355e94dc 61 help/kerberos.html \
4744bd90 62 help/license.html \
ef416fc2 63 help/man-accept.html \
64 help/man-backend.html \
bd7854cb 65 help/man-cancel.html \
66 help/man-classes.conf.html \
b423cd4c 67 help/man-client.conf.html \
ef416fc2 68 help/man-cups-config.html \
ef416fc2 69 help/man-cups-lpd.html \
70 help/man-cups-polld.html \
4744bd90 71 help/man-cupsaddsmb.html \
72 help/man-cupsd.conf.html \
73 help/man-cupsd.html \
74 help/man-cupsenable.html \
80ca4592 75 help/man-cupstestdsc.html \
ef416fc2 76 help/man-cupstestppd.html \
77 help/man-filter.html \
4744bd90 78 help/man-lp.html \
ef416fc2 79 help/man-lpadmin.html \
80 help/man-lpc.html \
ef416fc2 81 help/man-lpinfo.html \
82 help/man-lpmove.html \
83 help/man-lpoptions.html \
84 help/man-lppasswd.html \
85 help/man-lpq.html \
86 help/man-lpr.html \
87 help/man-lprm.html \
88 help/man-lpstat.html \
bd7854cb 89 help/man-mime.convs.html \
90 help/man-mime.types.html \
91 help/man-printers.conf.html \
ef416fc2 92 help/network.html \
4744bd90 93 help/options.html \
ef416fc2 94 help/overview.html \
8ca02f3c 95 help/policies.html \
4744bd90 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 \
8ca02f3c 101 help/ref-mailto-conf.html \
4744bd90 102 help/ref-page_log.html \
103 help/ref-printers-conf.html \
89d46774 104 help/ref-snmp-conf.html \
4744bd90 105 help/ref-subscriptions-conf.html \
106 help/security.html \
107 help/spec-cmp.html \
b423cd4c 108 help/spec-command.html \
4744bd90 109 help/spec-design.html \
fa73b229 110 help/spec-ipp.html \
f7deaa1a 111 help/spec-postscript.html \
ef416fc2 112 help/spec-ppd.html \
4744bd90 113 help/spec-raster.html \
114 help/spec-stp.html \
ef416fc2 115 help/standard.html \
4744bd90 116 help/translation.html \
ef416fc2 117 help/whatsnew.html
118
119
120#
121# Make all documents...
122#
123
124all:
125
126
127#
128# Remove all generated files...
129#
130
131clean:
132
133
757d2cad 134#
135# Dummy depend target...
136#
137
138depend:
139
140
ef416fc2 141#
142# Install all documentation files...
143#
144
ed486911 145install: all $(INSTALL_LANGUAGES)
bd7854cb 146 $(INSTALL_DIR) -m 755 $(DOCDIR)
ef416fc2 147 for file in $(WEBPAGES); do \
148 $(INSTALL_MAN) $$file $(DOCDIR); \
149 done
bd7854cb 150 $(INSTALL_DIR) -m 755 $(DOCDIR)/help
ef416fc2 151 for file in $(HELPFILES); do \
152 $(INSTALL_MAN) $$file $(DOCDIR)/help; \
153 done
bd7854cb 154 $(INSTALL_DIR) -m 755 $(DOCDIR)/images
2e4ff8af 155 for file in $(WEBIMAGES); do \
ef416fc2 156 $(INSTALL_MAN) $$file $(DOCDIR)/images; \
157 done
ed486911 158
159install-languages:
bd7854cb 160 for lang in $(LANGUAGES); do \
161 $(INSTALL_DIR) -m 755 $(DOCDIR)/$$lang/images; \
4744bd90 162 if test -f $$lang/index.html; then \
163 $(INSTALL_MAN) $$lang/index.html $(DOCDIR)/$$lang; \
757d2cad 164 fi; \
c0e1af83 165 if test -f $$lang/cups.css; then \
166 $(INSTALL_MAN) $$lang/cups.css $(DOCDIR)/$$lang; \
167 fi; \
757d2cad 168 done
169
170
171#
172# Unnstall all documentation files...
173#
174
ed486911 175uninstall: $(UNINSTALL_LANGUAGES)
757d2cad 176 for file in $(WEBPAGES); do \
177 $(RM) $(DOCDIR)/$$file; \
178 done
179 for file in $(HELPFILES); do \
180 $(INSTALL_MAN) $(DOCDIR)/help/$$file; \
181 done
2e4ff8af 182 for file in $(WEBIMAGES); do \
757d2cad 183 $(INSTALL_MAN) $(DOCDIR)/images/$$file; \
184 done
ed486911 185 -$(RMDIR) $(DOCDIR)/images
186 -$(RMDIR) $(DOCDIR)/help
187 -$(RMDIR) $(DOCDIR)
188
189uninstall-languages:
757d2cad 190 -for lang in $(LANGUAGES); do \
191 $(RM) $(DOCDIR)/$$lang/index.html; \
c0e1af83 192 $(RM) $(DOCDIR)/$$lang/cups.css; \
757d2cad 193 $(RMDIR) $(DOCDIR)/$$lang/images; \
194 $(RMDIR) $(DOCDIR)/$$lang; \
bd7854cb 195 done
ef416fc2 196
197
198#
199# End of Makefile.
200#