]> git.ipfire.org Git - thirdparty/cups.git/blob - templates/Makefile
<rdar://problem/5792631> dependency cycle in cups-144 / PrintingCore-250 / Applicatio...
[thirdparty/cups.git] / templates / Makefile
1 #
2 # "$Id: Makefile 6649 2007-07-11 21:46:42Z mike $"
3 #
4 # Template makefile for the Common UNIX Printing System (CUPS).
5 #
6 # Copyright 2007-2008 by Apple Inc.
7 # Copyright 1993-2007 by Easy Software Products.
8 #
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/".
14 #
15
16 include ../Makedefs
17
18 #
19 # Template files...
20 #
21
22 FILES = \
23 add-class.tmpl \
24 add-printer.tmpl \
25 add-rss-subscription.tmpl \
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 \
35 class-jobs-header.tmpl \
36 class-modified.tmpl \
37 classes.tmpl \
38 classes-header.tmpl \
39 edit-config.tmpl \
40 error.tmpl \
41 error-op.tmpl \
42 header.tmpl \
43 help-header.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 maintenance.tmpl \
55 modify-class.tmpl \
56 modify-printer.tmpl \
57 norestart.tmpl \
58 option-boolean.tmpl \
59 option-conflict.tmpl \
60 option-header.tmpl \
61 option-pickmany.tmpl \
62 option-pickone.tmpl \
63 option-trailer.tmpl \
64 pager.tmpl \
65 printer-accept.tmpl \
66 printer-added.tmpl \
67 printer-configured.tmpl \
68 printer-confirm.tmpl \
69 printer-default.tmpl \
70 printer-deleted.tmpl \
71 printer-jobs-header.tmpl \
72 printer-modified.tmpl \
73 printer-purge.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 subscription-added.tmpl \
86 subscription-canceled.tmpl \
87 test-page.tmpl \
88 trailer.tmpl \
89 users.tmpl
90
91
92 #
93 # Make everything...
94 #
95
96 all:
97
98
99 #
100 # Clean all config and object files...
101 #
102
103 clean:
104
105
106 #
107 # Dummy depend...
108 #
109
110 depend:
111
112
113 #
114 # Install all targets...
115 #
116
117 install: all install-data install-headers install-libs install-exec
118
119
120 #
121 # Install data files...
122 #
123
124 install-data: $(INSTALL_LANGUAGES)
125 $(INSTALL_DIR) -m 755 $(DATADIR)/templates
126 for file in $(FILES); do \
127 $(INSTALL_DATA) $$file $(DATADIR)/templates; \
128 done
129
130 install-languages:
131 for lang in $(LANGUAGES); do \
132 if test -d $$lang; then \
133 $(INSTALL_DIR) -m 755 $(DATADIR)/templates/$$lang; \
134 for file in $(FILES); do \
135 $(INSTALL_DATA) $$lang/$$file $(DATADIR)/templates/$$lang 2>/dev/null || true; \
136 done \
137 fi \
138 done
139
140
141
142 #
143 # Install programs...
144 #
145
146 install-exec:
147
148
149 #
150 # Install headers...
151 #
152
153 install-headers:
154
155
156 #
157 # Install libraries...
158 #
159
160 install-libs:
161
162
163 #
164 # Uninstall files...
165 #
166
167 uninstall: $(UNINSTALL_LANGUAGES)
168 for file in $(FILES); do \
169 $(RM) $(DATADIR)/templates/$$file; \
170 done
171 -$(RMDIR) $(DATADIR)/templates
172
173 uninstall-languages:
174 for lang in $(LANGUAGES); do \
175 for file in $(FILES); do \
176 $(RM) $(DATADIR)/templates/$$lang/$$file; \
177 done \
178 $(RMDIR) $(DATADIR)/templates/$$lang; \
179 done
180
181
182 #
183 # End of "$Id: Makefile 6649 2007-07-11 21:46:42Z mike $".
184 #