2 # Example files makefile for CUPS.
4 # Copyright © 2007-2019 by Apple Inc.
5 # Copyright © 2002-2005 by Easy Software Products.
7 # Licensed under Apache License v2.0. See the file "LICENSE" for more
12 # Include standard definitions...
51 cancel-current-job.
test \
52 create-job-format.
test \
53 create-job-sheets.
test \
54 create-job-timeout.
test \
56 create-printer-subscription.
test \
57 cups-create-local-printer.
test \
59 get-completed-jobs.
test \
61 get-job-attributes.
test \
62 get-job-attributes2.
test \
63 get-job-template-attributes.
test \
65 get-notifications.
test \
66 get-ppd-printer.
test \
68 get-ppds-drv-only.
test \
69 get-ppds-language.
test \
70 get-ppds-make-and-model.
test \
72 get-ppds-product.
test \
73 get-ppds-psversion.
test \
75 get-printer-attributes-suite.
test \
76 get-printer-attributes.
test \
77 get-printer-description-attributes.
test \
78 get-printers-printer-id.
test \
80 get-subscriptions.
test \
81 identify-printer-display.
test \
82 identify-printer-multiple.
test \
83 identify-printer.
test \
90 print-job-and-wait.
test \
91 print-job-deflate.
test \
94 print-job-letter.
test \
95 print-job-manual.
test \
96 print-job-media-col.
test \
97 print-job-password.
test \
100 set-attrs-hold.
test \
112 # Make library targets...
126 # Clean everything...
140 # Install all targets...
143 install: all install-data install-headers install-libs install-exec
147 # Install data files...
151 echo Installing sample PPD compiler files in
$(DATADIR
)/examples...
152 $(INSTALL_DIR
) $(DATADIR
)/examples
153 for file in
$(DRVFILES
); do \
154 $(INSTALL_DATA
) $$file $(DATADIR
)/examples
; \
156 echo Installing sample ipptool files in
$(DATADIR
)/ipptool...
157 $(INSTALL_DIR
) -m
755 $(DATADIR
)/ipptool
158 for file in
$(DATAFILES
); do \
159 $(INSTALL_COMPDATA
) $$file $(DATADIR
)/ipptool
; \
161 for file in
$(TESTFILES
); do \
162 $(INSTALL_DATA
) $$file $(DATADIR
)/ipptool
; \
167 # Install programs...
181 # Install libraries...
192 echo Uninstalling sample PPD compiler files from
$(DATADIR
)/examples...
193 for file in
$(DRVFILES
); do \
194 $(RM
) $(DATADIR
)/examples
/$$file; \
196 -$(RMDIR
) $(DATADIR
)/examples
197 echo Uninstalling sample ipptool files from
$(DATADIR
)/ipptool...
198 for file in
$(DATAFILES
); do \
199 $(RM
) $(DATADIR
)/ipptool
/$$file; \
201 for file in
$(TESTFILES
); do \
202 $(RM
) $(DATADIR
)/ipptool
/$$file; \
204 -$(RMDIR
) $(DATADIR
)/ipptool