1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258
|
#
# "$Id: Makefile 8841 2009-10-07 16:24:25Z mike $"
#
# Documentation makefile for the Common UNIX Printing System (CUPS).
#
# Copyright 2007-2009 by Apple Inc.
# Copyright 1997-2007 by Easy Software Products.
#
# These coded instructions, statements, and computer programs are the
# property of Apple Inc. and are protected by Federal copyright
# law. Distribution and use rights are outlined in the file "LICENSE.txt"
# which should have been included with this file. If this file is
# file is missing or damaged, see the license at "http://www.cups.org/".
#
include ../Makedefs
#
# Document files...
#
WEBPAGES = \
cups.css \
cups-printable.css \
index.html \
robots.txt
WEBIMAGES = \
images/color-wheel.png \
images/cups.png \
images/cups-icon.png \
images/left.gif \
images/right.gif \
images/sel.gif \
images/unsel.gif \
images/wait.gif
HELPIMAGES = \
images/cups-block-diagram.png \
images/cups-command-chain.png \
images/cups-postscript-chain.png \
images/cups-raster-chain.png \
images/raster.png \
images/smiley.jpg
HELPFILES = \
help/accounting.html \
help/api-array.html \
help/api-cgi.html \
help/api-cups.html \
help/api-driver.html \
help/api-filedir.html \
help/api-filter.html \
help/api-httpipp.html \
help/api-mime.html \
help/api-overview.html \
help/api-ppd.html \
help/api-ppdc.html \
help/api-raster.html \
help/cgi.html \
help/glossary.html \
help/kerberos.html \
help/license.html \
help/man-cupsaccept.html \
help/man-backend.html \
help/man-cancel.html \
help/man-cups-config.html \
help/man-cups-lpd.html \
help/man-cups-polld.html \
help/man-cupsaddsmb.html \
help/man-cupsd.html \
help/man-cupsenable.html \
help/man-cupstestdsc.html \
help/man-cupstestppd.html \
help/man-drv.html \
help/man-filter.html \
help/man-lp.html \
help/man-lpadmin.html \
help/man-lpc.html \
help/man-lpinfo.html \
help/man-lpmove.html \
help/man-lpoptions.html \
help/man-lppasswd.html \
help/man-lpq.html \
help/man-lpr.html \
help/man-lprm.html \
help/man-lpstat.html \
help/man-mime.convs.html \
help/man-mime.types.html \
help/man-notifier.html \
help/man-ppdc.html \
help/man-ppdhtml.html \
help/man-ppdi.html \
help/man-ppdmerge.html \
help/man-ppdpo.html \
help/network.html \
help/options.html \
help/overview.html \
help/policies.html \
help/postscript-driver.html \
help/ppd-compiler.html \
help/raster-driver.html \
help/ref-access_log.html \
help/ref-classes-conf.html \
help/ref-client-conf.html \
help/ref-cupsd-conf.html \
help/ref-error_log.html \
help/ref-mailto-conf.html \
help/ref-page_log.html \
help/ref-ppdcfile.html \
help/ref-printers-conf.html \
help/ref-snmp-conf.html \
help/ref-subscriptions-conf.html \
help/security.html \
help/sharing.html \
help/spec-banner.html \
help/spec-browsing.html \
help/spec-cmp.html \
help/spec-command.html \
help/spec-design.html \
help/spec-ipp.html \
help/spec-pdf.html \
help/spec-postscript.html \
help/spec-ppd.html \
help/spec-raster.html \
help/spec-stp.html \
help/standard.html \
help/translation.html \
help/whatsnew.html
#
# Make all documents...
#
all:
#
# Make library targets...
#
libs:
#
# Make unit tests...
#
unittests:
#
# Remove all generated files...
#
clean:
#
# Dummy depend target...
#
depend:
#
# Install all targets...
#
install: all install-data install-headers install-libs install-exec
#
# Install data files...
#
install-data: $(INSTALL_LANGUAGES)
$(INSTALL_DIR) -m 755 $(DOCDIR)
for file in $(WEBPAGES); do \
$(INSTALL_MAN) $$file $(DOCDIR); \
done
$(INSTALL_DIR) -m 755 $(DOCDIR)/help
for file in $(HELPFILES); do \
$(INSTALL_MAN) $$file $(DOCDIR)/help; \
done
$(INSTALL_DIR) -m 755 $(DOCDIR)/images
for file in $(WEBIMAGES) $(HELPIMAGES); do \
$(INSTALL_MAN) $$file $(DOCDIR)/images; \
done
install-languages:
for lang in $(LANGUAGES); do \
if test -d $$lang; then \
$(INSTALL_DIR) -m 755 $(DOCDIR)/$$lang; \
$(INSTALL_DATA) $$lang/index.html $(DOCDIR)/$$lang; \
$(INSTALL_DATA) $$lang/cups.css $(DOCDIR)/$$lang >/dev/null 2>&1 || true; \
fi; \
done
#
# Install programs...
#
install-exec:
#
# Install headers...
#
install-headers:
#
# Install libraries...
#
install-libs:
#
# Uninstall all documentation files...
#
uninstall: $(UNINSTALL_LANGUAGES)
for file in $(WEBPAGES); do \
$(RM) $(DOCDIR)/$$file; \
done
for file in $(HELPFILES); do \
$(RM) $(DOCDIR)/$$file; \
done
for file in $(WEBIMAGES); do \
$(RM) $(DOCDIR)/$$file; \
done
-$(RMDIR) $(DOCDIR)/images
-$(RMDIR) $(DOCDIR)/help
-$(RMDIR) $(DOCDIR)
uninstall-languages:
-for lang in $(LANGUAGES); do \
$(RM) $(DOCDIR)/$$lang/index.html; \
$(RM) $(DOCDIR)/$$lang/cups.css; \
$(RMDIR) $(DOCDIR)/$$lang; \
done
#
# Install the docset bits locally...
#
docset:
cp $(HELPFILES) ../org.cups.docset/Contents/Resources/Documentation/help
cp cups-printable.css ../org.cups.docset/Contents/Resources/Documentation
cp $(HELPIMAGES) ../org.cups.docset/Contents/Resources/Documentation/images
#
# End of Makefile.
#
|