]> git.ipfire.org Git - thirdparty/cups.git/blame - templates/Makefile
Update ipp documentation to reflect the behavior of configuring WiFi on IPP USB printers.
[thirdparty/cups.git] / templates / Makefile
CommitLineData
ef416fc2 1#
96be8b6c 2# Template makefile for CUPS.
ef416fc2 3#
a621d151 4# Copyright 2007-2017 by Apple Inc.
96be8b6c 5# Copyright 1993-2007 by Easy Software Products.
ef416fc2 6#
e3101897 7# Licensed under Apache License v2.0. See the file "LICENSE" for more information.
ef416fc2 8#
9
10include ../Makedefs
11
12#
13# Template files...
14#
15
fa73b229 16FILES = \
17 add-class.tmpl \
ef416fc2 18 add-printer.tmpl \
ef416fc2 19 admin.tmpl \
20 choose-device.tmpl \
21 choose-make.tmpl \
22 choose-model.tmpl \
23 choose-serial.tmpl \
24 choose-uri.tmpl \
b19ccc9e 25 class.tmpl \
ef416fc2 26 class-added.tmpl \
27 class-confirm.tmpl \
28 class-deleted.tmpl \
fa73b229 29 class-jobs-header.tmpl \
ef416fc2 30 class-modified.tmpl \
fa73b229 31 classes.tmpl \
32 classes-header.tmpl \
58dc1933 33 command.tmpl \
ef416fc2 34 edit-config.tmpl \
35 error.tmpl \
fa73b229 36 error-op.tmpl \
ef416fc2 37 header.tmpl \
38 help-header.tmpl \
b19ccc9e 39 help-trailer.tmpl \
4744bd90 40 help-printable.tmpl \
ef416fc2 41 job-cancel.tmpl \
42 job-hold.tmpl \
fa73b229 43 job-move.tmpl \
44 job-moved.tmpl \
ef416fc2 45 job-release.tmpl \
46 job-restart.tmpl \
47 jobs.tmpl \
fa73b229 48 jobs-header.tmpl \
323c5de1 49 list-available-printers.tmpl \
ef416fc2 50 modify-class.tmpl \
51 modify-printer.tmpl \
d09495fa 52 norestart.tmpl \
ef416fc2 53 option-boolean.tmpl \
54 option-conflict.tmpl \
55 option-header.tmpl \
56 option-pickmany.tmpl \
57 option-pickone.tmpl \
58 option-trailer.tmpl \
fa73b229 59 pager.tmpl \
b19ccc9e 60 printer.tmpl \
ef416fc2 61 printer-accept.tmpl \
62 printer-added.tmpl \
96be8b6c 63 printer-cancel-jobs.tmpl \
ef416fc2 64 printer-configured.tmpl \
65 printer-confirm.tmpl \
66 printer-default.tmpl \
67 printer-deleted.tmpl \
fa73b229 68 printer-jobs-header.tmpl \
ef416fc2 69 printer-modified.tmpl \
ef416fc2 70 printer-reject.tmpl \
71 printer-start.tmpl \
ef416fc2 72 printer-stop.tmpl \
fa73b229 73 printers.tmpl \
74 printers-header.tmpl \
ef416fc2 75 restart.tmpl \
fa73b229 76 search.tmpl \
ef416fc2 77 set-printer-options-header.tmpl \
78 set-printer-options-trailer.tmpl \
79 test-page.tmpl \
80 trailer.tmpl \
81 users.tmpl
82
83
84#
85# Make everything...
86#
87
88all:
89
90
c9fc04c6
MS
91#
92# Make library targets...
93#
94
95libs:
96
97
5f64df29
MS
98#
99# Make unit tests...
100#
101
102unittests:
103
104
ef416fc2 105#
106# Clean all config and object files...
107#
108
109clean:
110
111
757d2cad 112#
113# Dummy depend...
114#
115
116depend:
117
118
ef416fc2 119#
50fe7201 120# Install all targets...
ef416fc2 121#
122
50fe7201
MS
123install: all install-data install-headers install-libs install-exec
124
125
126#
127# Install data files...
128#
129
130install-data: $(INSTALL_LANGUAGES)
bd7854cb 131 $(INSTALL_DIR) -m 755 $(DATADIR)/templates
ef416fc2 132 for file in $(FILES); do \
133 $(INSTALL_DATA) $$file $(DATADIR)/templates; \
134 done
ed486911 135
136install-languages:
bd7854cb 137 for lang in $(LANGUAGES); do \
ac884b6a
MS
138 if test -d $$lang; then \
139 $(INSTALL_DIR) -m 755 $(DATADIR)/templates/$$lang; \
140 for file in $(FILES); do \
b226ab99 141 $(INSTALL_DATA) $$lang/$$file $(DATADIR)/templates/$$lang >/dev/null 2>&1 || true; \
ac884b6a
MS
142 done \
143 fi \
bd7854cb 144 done
ef416fc2 145
0837b7e8 146install-langbundle:
ef416fc2 147
50fe7201
MS
148
149#
150# Install programs...
151#
152
153install-exec:
154
155
156#
157# Install headers...
158#
159
160install-headers:
161
162
163#
164# Install libraries...
165#
166
167install-libs:
168
169
ef416fc2 170#
757d2cad 171# Uninstall files...
172#
173
ed486911 174uninstall: $(UNINSTALL_LANGUAGES)
757d2cad 175 for file in $(FILES); do \
176 $(RM) $(DATADIR)/templates/$$file; \
177 done
ed486911 178 -$(RMDIR) $(DATADIR)/templates
179
180uninstall-languages:
757d2cad 181 for lang in $(LANGUAGES); do \
182 for file in $(FILES); do \
183 $(RM) $(DATADIR)/templates/$$lang/$$file; \
184 done \
185 $(RMDIR) $(DATADIR)/templates/$$lang; \
186 done
757d2cad 187
0837b7e8 188uninstall-langbundle: