]> git.ipfire.org Git - thirdparty/cups.git/blame - templates/Makefile
Merge changes from CUPS trunk, r7566.
[thirdparty/cups.git] / templates / Makefile
CommitLineData
ef416fc2 1#
bc44d920 2# "$Id: Makefile 6649 2007-07-11 21:46:42Z mike $"
ef416fc2 3#
4# Template makefile for the Common UNIX Printing System (CUPS).
5#
50fe7201 6# Copyright 2007-2008 by Apple Inc.
323c5de1 7# Copyright 1993-2007 by Easy Software Products.
ef416fc2 8#
9# These coded instructions, statements, and computer programs are the
bc44d920 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 \
32 class-added.tmpl \
33 class-confirm.tmpl \
34 class-deleted.tmpl \
fa73b229 35 class-jobs-header.tmpl \
ef416fc2 36 class-modified.tmpl \
fa73b229 37 classes.tmpl \
38 classes-header.tmpl \
ef416fc2 39 edit-config.tmpl \
40 error.tmpl \
fa73b229 41 error-op.tmpl \
ef416fc2 42 header.tmpl \
43 help-header.tmpl \
4744bd90 44 help-printable.tmpl \
ef416fc2 45 job-cancel.tmpl \
46 job-hold.tmpl \
fa73b229 47 job-move.tmpl \
48 job-moved.tmpl \
ef416fc2 49 job-release.tmpl \
50 job-restart.tmpl \
51 jobs.tmpl \
fa73b229 52 jobs-header.tmpl \
323c5de1 53 list-available-printers.tmpl \
b423cd4c 54 maintenance.tmpl \
ef416fc2 55 modify-class.tmpl \
56 modify-printer.tmpl \
d09495fa 57 norestart.tmpl \
ef416fc2 58 option-boolean.tmpl \
59 option-conflict.tmpl \
60 option-header.tmpl \
61 option-pickmany.tmpl \
62 option-pickone.tmpl \
63 option-trailer.tmpl \
fa73b229 64 pager.tmpl \
ef416fc2 65 printer-accept.tmpl \
66 printer-added.tmpl \
67 printer-configured.tmpl \
68 printer-confirm.tmpl \
69 printer-default.tmpl \
70 printer-deleted.tmpl \
fa73b229 71 printer-jobs-header.tmpl \
ef416fc2 72 printer-modified.tmpl \
73 printer-purge.tmpl \
74 printer-reject.tmpl \
75 printer-start.tmpl \
ef416fc2 76 printer-stop.tmpl \
fa73b229 77 printers.tmpl \
78 printers-header.tmpl \
ef416fc2 79 restart.tmpl \
4400e98d 80 samba-export.tmpl \
81 samba-exported.tmpl \
fa73b229 82 search.tmpl \
ef416fc2 83 set-printer-options-header.tmpl \
84 set-printer-options-trailer.tmpl \
3d8365b8 85 subscription-added.tmpl \
86 subscription-canceled.tmpl \
ef416fc2 87 test-page.tmpl \
88 trailer.tmpl \
89 users.tmpl
90
91
92#
93# Make everything...
94#
95
96all:
97
98
c9fc04c6
MS
99#
100# Make library targets...
101#
102
103libs:
104
105
ef416fc2 106#
107# Clean all config and object files...
108#
109
110clean:
111
112
757d2cad 113#
114# Dummy depend...
115#
116
117depend:
118
119
ef416fc2 120#
50fe7201 121# Install all targets...
ef416fc2 122#
123
50fe7201
MS
124install: all install-data install-headers install-libs install-exec
125
126
127#
128# Install data files...
129#
130
131install-data: $(INSTALL_LANGUAGES)
bd7854cb 132 $(INSTALL_DIR) -m 755 $(DATADIR)/templates
ef416fc2 133 for file in $(FILES); do \
134 $(INSTALL_DATA) $$file $(DATADIR)/templates; \
135 done
ed486911 136
137install-languages:
bd7854cb 138 for lang in $(LANGUAGES); do \
ac884b6a
MS
139 if test -d $$lang; then \
140 $(INSTALL_DIR) -m 755 $(DATADIR)/templates/$$lang; \
141 for file in $(FILES); do \
568fa3fa 142 $(INSTALL_DATA) $$lang/$$file $(DATADIR)/templates/$$lang 2>/dev/null || true; \
ac884b6a
MS
143 done \
144 fi \
bd7854cb 145 done
ef416fc2 146
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
188
189#
bc44d920 190# End of "$Id: Makefile 6649 2007-07-11 21:46:42Z mike $".
ef416fc2 191#