]> git.ipfire.org Git - thirdparty/cups.git/blame - templates/Makefile
Bump version.
[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 \
4400e98d 76 samba-export.tmpl \
77 samba-exported.tmpl \
fa73b229 78 search.tmpl \
ef416fc2 79 set-printer-options-header.tmpl \
80 set-printer-options-trailer.tmpl \
81 test-page.tmpl \
82 trailer.tmpl \
83 users.tmpl
84
85
86#
87# Make everything...
88#
89
90all:
91
92
c9fc04c6
MS
93#
94# Make library targets...
95#
96
97libs:
98
99
5f64df29
MS
100#
101# Make unit tests...
102#
103
104unittests:
105
106
ef416fc2 107#
108# Clean all config and object files...
109#
110
111clean:
112
113
757d2cad 114#
115# Dummy depend...
116#
117
118depend:
119
120
ef416fc2 121#
50fe7201 122# Install all targets...
ef416fc2 123#
124
50fe7201
MS
125install: all install-data install-headers install-libs install-exec
126
127
128#
129# Install data files...
130#
131
132install-data: $(INSTALL_LANGUAGES)
bd7854cb 133 $(INSTALL_DIR) -m 755 $(DATADIR)/templates
ef416fc2 134 for file in $(FILES); do \
135 $(INSTALL_DATA) $$file $(DATADIR)/templates; \
136 done
ed486911 137
138install-languages:
bd7854cb 139 for lang in $(LANGUAGES); do \
ac884b6a
MS
140 if test -d $$lang; then \
141 $(INSTALL_DIR) -m 755 $(DATADIR)/templates/$$lang; \
142 for file in $(FILES); do \
b226ab99 143 $(INSTALL_DATA) $$lang/$$file $(DATADIR)/templates/$$lang >/dev/null 2>&1 || true; \
ac884b6a
MS
144 done \
145 fi \
bd7854cb 146 done
ef416fc2 147
0837b7e8 148install-langbundle:
ef416fc2 149
50fe7201
MS
150
151#
152# Install programs...
153#
154
155install-exec:
156
157
158#
159# Install headers...
160#
161
162install-headers:
163
164
165#
166# Install libraries...
167#
168
169install-libs:
170
171
ef416fc2 172#
757d2cad 173# Uninstall files...
174#
175
ed486911 176uninstall: $(UNINSTALL_LANGUAGES)
757d2cad 177 for file in $(FILES); do \
178 $(RM) $(DATADIR)/templates/$$file; \
179 done
ed486911 180 -$(RMDIR) $(DATADIR)/templates
181
182uninstall-languages:
757d2cad 183 for lang in $(LANGUAGES); do \
184 for file in $(FILES); do \
185 $(RM) $(DATADIR)/templates/$$lang/$$file; \
186 done \
187 $(RMDIR) $(DATADIR)/templates/$$lang; \
188 done
757d2cad 189
0837b7e8 190uninstall-langbundle: