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