]>
Commit | Line | Data |
---|---|---|
ef416fc2 | 1 | # |
b19ccc9e | 2 | # "$Id: Makefile 7940 2008-09-16 00:45:16Z 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 | ||
16 | include ../Makedefs | |
17 | ||
18 | # | |
19 | # Template files... | |
20 | # | |
21 | ||
fa73b229 | 22 | FILES = \ |
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 \ | |
70 | printer-configured.tmpl \ | |
71 | printer-confirm.tmpl \ | |
72 | printer-default.tmpl \ | |
73 | printer-deleted.tmpl \ | |
fa73b229 | 74 | printer-jobs-header.tmpl \ |
ef416fc2 | 75 | printer-modified.tmpl \ |
76 | printer-purge.tmpl \ | |
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 | ||
99 | all: | |
100 | ||
101 | ||
c9fc04c6 MS |
102 | # |
103 | # Make library targets... | |
104 | # | |
105 | ||
106 | libs: | |
107 | ||
108 | ||
5f64df29 MS |
109 | # |
110 | # Make unit tests... | |
111 | # | |
112 | ||
113 | unittests: | |
114 | ||
115 | ||
ef416fc2 | 116 | # |
117 | # Clean all config and object files... | |
118 | # | |
119 | ||
120 | clean: | |
121 | ||
122 | ||
757d2cad | 123 | # |
124 | # Dummy depend... | |
125 | # | |
126 | ||
127 | depend: | |
128 | ||
129 | ||
ef416fc2 | 130 | # |
50fe7201 | 131 | # Install all targets... |
ef416fc2 | 132 | # |
133 | ||
50fe7201 MS |
134 | install: all install-data install-headers install-libs install-exec |
135 | ||
136 | ||
137 | # | |
138 | # Install data files... | |
139 | # | |
140 | ||
141 | install-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 | |
147 | install-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 \ | |
568fa3fa | 152 | $(INSTALL_DATA) $$lang/$$file $(DATADIR)/templates/$$lang 2>/dev/null || true; \ |
ac884b6a MS |
153 | done \ |
154 | fi \ | |
bd7854cb | 155 | done |
ef416fc2 | 156 | |
157 | ||
50fe7201 MS |
158 | |
159 | # | |
160 | # Install programs... | |
161 | # | |
162 | ||
163 | install-exec: | |
164 | ||
165 | ||
166 | # | |
167 | # Install headers... | |
168 | # | |
169 | ||
170 | install-headers: | |
171 | ||
172 | ||
173 | # | |
174 | # Install libraries... | |
175 | # | |
176 | ||
177 | install-libs: | |
178 | ||
179 | ||
ef416fc2 | 180 | # |
757d2cad | 181 | # Uninstall files... |
182 | # | |
183 | ||
ed486911 | 184 | uninstall: $(UNINSTALL_LANGUAGES) |
757d2cad | 185 | for file in $(FILES); do \ |
186 | $(RM) $(DATADIR)/templates/$$file; \ | |
187 | done | |
ed486911 | 188 | -$(RMDIR) $(DATADIR)/templates |
189 | ||
190 | uninstall-languages: | |
757d2cad | 191 | for lang in $(LANGUAGES); do \ |
192 | for file in $(FILES); do \ | |
193 | $(RM) $(DATADIR)/templates/$$lang/$$file; \ | |
194 | done \ | |
195 | $(RMDIR) $(DATADIR)/templates/$$lang; \ | |
196 | done | |
757d2cad | 197 | |
198 | ||
199 | # | |
b19ccc9e | 200 | # End of "$Id: Makefile 7940 2008-09-16 00:45:16Z mike $". |
ef416fc2 | 201 | # |