]>
Commit | Line | Data |
---|---|---|
ef416fc2 | 1 | # |
3d8365b8 | 2 | # "$Id: Makefile 6521 2007-05-08 02:11:10Z mike $" |
ef416fc2 | 3 | # |
4 | # Template makefile for the Common UNIX Printing System (CUPS). | |
5 | # | |
323c5de1 | 6 | # Copyright 1993-2007 by Easy Software Products. |
ef416fc2 | 7 | # |
8 | # These coded instructions, statements, and computer programs are the | |
9 | # property of Easy Software Products and are protected by Federal | |
10 | # copyright law. Distribution and use rights are outlined in the file | |
11 | # "LICENSE.txt" which should have been included with this file. If this | |
12 | # file is missing or damaged please contact Easy Software Products | |
13 | # at: | |
14 | # | |
15 | # Attn: CUPS Licensing Information | |
16 | # Easy Software Products | |
17 | # 44141 Airport View Drive, Suite 204 | |
18 | # Hollywood, Maryland 20636 USA | |
19 | # | |
20 | # Voice: (301) 373-9600 | |
21 | # EMail: cups-info@cups.org | |
22 | # WWW: http://www.cups.org | |
23 | # | |
24 | ||
25 | include ../Makedefs | |
26 | ||
27 | # | |
28 | # Template files... | |
29 | # | |
30 | ||
fa73b229 | 31 | FILES = \ |
32 | add-class.tmpl \ | |
ef416fc2 | 33 | add-printer.tmpl \ |
3d8365b8 | 34 | add-rss-subscription.tmpl \ |
ef416fc2 | 35 | admin.tmpl \ |
36 | choose-device.tmpl \ | |
37 | choose-make.tmpl \ | |
38 | choose-model.tmpl \ | |
39 | choose-serial.tmpl \ | |
40 | choose-uri.tmpl \ | |
41 | class-added.tmpl \ | |
42 | class-confirm.tmpl \ | |
43 | class-deleted.tmpl \ | |
fa73b229 | 44 | class-jobs-header.tmpl \ |
ef416fc2 | 45 | class-modified.tmpl \ |
fa73b229 | 46 | classes.tmpl \ |
47 | classes-header.tmpl \ | |
ef416fc2 | 48 | edit-config.tmpl \ |
49 | error.tmpl \ | |
fa73b229 | 50 | error-op.tmpl \ |
ef416fc2 | 51 | header.tmpl \ |
52 | help-header.tmpl \ | |
4744bd90 | 53 | help-printable.tmpl \ |
ef416fc2 | 54 | job-cancel.tmpl \ |
55 | job-hold.tmpl \ | |
fa73b229 | 56 | job-move.tmpl \ |
57 | job-moved.tmpl \ | |
ef416fc2 | 58 | job-release.tmpl \ |
59 | job-restart.tmpl \ | |
60 | jobs.tmpl \ | |
fa73b229 | 61 | jobs-header.tmpl \ |
323c5de1 | 62 | list-available-printers.tmpl \ |
b423cd4c | 63 | maintenance.tmpl \ |
ef416fc2 | 64 | modify-class.tmpl \ |
65 | modify-printer.tmpl \ | |
d09495fa | 66 | norestart.tmpl \ |
ef416fc2 | 67 | option-boolean.tmpl \ |
68 | option-conflict.tmpl \ | |
69 | option-header.tmpl \ | |
70 | option-pickmany.tmpl \ | |
71 | option-pickone.tmpl \ | |
72 | option-trailer.tmpl \ | |
fa73b229 | 73 | pager.tmpl \ |
ef416fc2 | 74 | printer-accept.tmpl \ |
75 | printer-added.tmpl \ | |
76 | printer-configured.tmpl \ | |
77 | printer-confirm.tmpl \ | |
78 | printer-default.tmpl \ | |
79 | printer-deleted.tmpl \ | |
fa73b229 | 80 | printer-jobs-header.tmpl \ |
ef416fc2 | 81 | printer-modified.tmpl \ |
82 | printer-purge.tmpl \ | |
83 | printer-reject.tmpl \ | |
84 | printer-start.tmpl \ | |
ef416fc2 | 85 | printer-stop.tmpl \ |
fa73b229 | 86 | printers.tmpl \ |
87 | printers-header.tmpl \ | |
ef416fc2 | 88 | restart.tmpl \ |
4400e98d | 89 | samba-export.tmpl \ |
90 | samba-exported.tmpl \ | |
fa73b229 | 91 | search.tmpl \ |
ef416fc2 | 92 | set-printer-options-header.tmpl \ |
93 | set-printer-options-trailer.tmpl \ | |
3d8365b8 | 94 | subscription-added.tmpl \ |
95 | subscription-canceled.tmpl \ | |
ef416fc2 | 96 | test-page.tmpl \ |
97 | trailer.tmpl \ | |
98 | users.tmpl | |
99 | ||
100 | ||
101 | # | |
102 | # Make everything... | |
103 | # | |
104 | ||
105 | all: | |
106 | ||
107 | ||
108 | # | |
109 | # Clean all config and object files... | |
110 | # | |
111 | ||
112 | clean: | |
113 | ||
114 | ||
757d2cad | 115 | # |
116 | # Dummy depend... | |
117 | # | |
118 | ||
119 | depend: | |
120 | ||
121 | ||
ef416fc2 | 122 | # |
123 | # Install files... | |
124 | # | |
125 | ||
ed486911 | 126 | install: all $(INSTALL_LANGUAGES) |
bd7854cb | 127 | $(INSTALL_DIR) -m 755 $(DATADIR)/templates |
ef416fc2 | 128 | for file in $(FILES); do \ |
129 | $(INSTALL_DATA) $$file $(DATADIR)/templates; \ | |
130 | done | |
ed486911 | 131 | |
132 | install-languages: | |
bd7854cb | 133 | for lang in $(LANGUAGES); do \ |
134 | $(INSTALL_DIR) -m 755 $(DATADIR)/templates/$$lang; \ | |
135 | for file in $(FILES); do \ | |
4744bd90 | 136 | if test -f $$lang/$$file; then \ |
bd7854cb | 137 | $(INSTALL_DATA) $$lang/$$file $(DATADIR)/templates/$$lang; \ |
138 | fi \ | |
139 | done \ | |
140 | done | |
ef416fc2 | 141 | |
142 | ||
143 | # | |
757d2cad | 144 | # Uninstall files... |
145 | # | |
146 | ||
ed486911 | 147 | uninstall: $(UNINSTALL_LANGUAGES) |
757d2cad | 148 | for file in $(FILES); do \ |
149 | $(RM) $(DATADIR)/templates/$$file; \ | |
150 | done | |
ed486911 | 151 | -$(RMDIR) $(DATADIR)/templates |
152 | ||
153 | uninstall-languages: | |
757d2cad | 154 | for lang in $(LANGUAGES); do \ |
155 | for file in $(FILES); do \ | |
156 | $(RM) $(DATADIR)/templates/$$lang/$$file; \ | |
157 | done \ | |
158 | $(RMDIR) $(DATADIR)/templates/$$lang; \ | |
159 | done | |
757d2cad | 160 | |
161 | ||
162 | # | |
3d8365b8 | 163 | # End of "$Id: Makefile 6521 2007-05-08 02:11:10Z mike $". |
ef416fc2 | 164 | # |