]> git.ipfire.org Git - thirdparty/cups.git/blob - templates/Makefile
Drop RSS subscription management from the web interface (Issue #5012)
[thirdparty/cups.git] / templates / Makefile
1 #
2 # Template makefile for CUPS.
3 #
4 # Copyright 2007-2017 by Apple Inc.
5 # Copyright 1993-2007 by Easy Software Products.
6 #
7 # These coded instructions, statements, and computer programs are the
8 # property of Apple Inc. and are protected by Federal copyright
9 # law. Distribution and use rights are outlined in the file "LICENSE.txt"
10 # which should have been included with this file. If this file is
11 # missing or damaged, see the license at "http://www.cups.org/".
12 #
13
14 include ../Makedefs
15
16 #
17 # Template files...
18 #
19
20 FILES = \
21 add-class.tmpl \
22 add-printer.tmpl \
23 admin.tmpl \
24 choose-device.tmpl \
25 choose-make.tmpl \
26 choose-model.tmpl \
27 choose-serial.tmpl \
28 choose-uri.tmpl \
29 class.tmpl \
30 class-added.tmpl \
31 class-confirm.tmpl \
32 class-deleted.tmpl \
33 class-jobs-header.tmpl \
34 class-modified.tmpl \
35 classes.tmpl \
36 classes-header.tmpl \
37 command.tmpl \
38 edit-config.tmpl \
39 error.tmpl \
40 error-op.tmpl \
41 header.tmpl \
42 help-header.tmpl \
43 help-trailer.tmpl \
44 help-printable.tmpl \
45 job-cancel.tmpl \
46 job-hold.tmpl \
47 job-move.tmpl \
48 job-moved.tmpl \
49 job-release.tmpl \
50 job-restart.tmpl \
51 jobs.tmpl \
52 jobs-header.tmpl \
53 list-available-printers.tmpl \
54 modify-class.tmpl \
55 modify-printer.tmpl \
56 norestart.tmpl \
57 option-boolean.tmpl \
58 option-conflict.tmpl \
59 option-header.tmpl \
60 option-pickmany.tmpl \
61 option-pickone.tmpl \
62 option-trailer.tmpl \
63 pager.tmpl \
64 printer.tmpl \
65 printer-accept.tmpl \
66 printer-added.tmpl \
67 printer-cancel-jobs.tmpl \
68 printer-configured.tmpl \
69 printer-confirm.tmpl \
70 printer-default.tmpl \
71 printer-deleted.tmpl \
72 printer-jobs-header.tmpl \
73 printer-modified.tmpl \
74 printer-reject.tmpl \
75 printer-start.tmpl \
76 printer-stop.tmpl \
77 printers.tmpl \
78 printers-header.tmpl \
79 restart.tmpl \
80 samba-export.tmpl \
81 samba-exported.tmpl \
82 search.tmpl \
83 set-printer-options-header.tmpl \
84 set-printer-options-trailer.tmpl \
85 test-page.tmpl \
86 trailer.tmpl \
87 users.tmpl
88
89
90 #
91 # Make everything...
92 #
93
94 all:
95
96
97 #
98 # Make library targets...
99 #
100
101 libs:
102
103
104 #
105 # Make unit tests...
106 #
107
108 unittests:
109
110
111 #
112 # Clean all config and object files...
113 #
114
115 clean:
116
117
118 #
119 # Dummy depend...
120 #
121
122 depend:
123
124
125 #
126 # Install all targets...
127 #
128
129 install: all install-data install-headers install-libs install-exec
130
131
132 #
133 # Install data files...
134 #
135
136 install-data: $(INSTALL_LANGUAGES)
137 $(INSTALL_DIR) -m 755 $(DATADIR)/templates
138 for file in $(FILES); do \
139 $(INSTALL_DATA) $$file $(DATADIR)/templates; \
140 done
141
142 install-languages:
143 for lang in $(LANGUAGES); do \
144 if test -d $$lang; then \
145 $(INSTALL_DIR) -m 755 $(DATADIR)/templates/$$lang; \
146 for file in $(FILES); do \
147 $(INSTALL_DATA) $$lang/$$file $(DATADIR)/templates/$$lang >/dev/null 2>&1 || true; \
148 done \
149 fi \
150 done
151
152 install-langbundle:
153
154
155 #
156 # Install programs...
157 #
158
159 install-exec:
160
161
162 #
163 # Install headers...
164 #
165
166 install-headers:
167
168
169 #
170 # Install libraries...
171 #
172
173 install-libs:
174
175
176 #
177 # Uninstall files...
178 #
179
180 uninstall: $(UNINSTALL_LANGUAGES)
181 for file in $(FILES); do \
182 $(RM) $(DATADIR)/templates/$$file; \
183 done
184 -$(RMDIR) $(DATADIR)/templates
185
186 uninstall-languages:
187 for lang in $(LANGUAGES); do \
188 for file in $(FILES); do \
189 $(RM) $(DATADIR)/templates/$$lang/$$file; \
190 done \
191 $(RMDIR) $(DATADIR)/templates/$$lang; \
192 done
193
194 uninstall-langbundle: