]>
Commit | Line | Data |
---|---|---|
ef416fc2 | 1 | # |
d09495fa | 2 | # "$Id: Makefile 5878 2006-08-24 15:55:42Z mike $" |
ef416fc2 | 3 | # |
4 | # Template makefile for the Common UNIX Printing System (CUPS). | |
5 | # | |
bd7854cb | 6 | # Copyright 1993-2006 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 \ |
ef416fc2 | 34 | admin.tmpl \ |
35 | choose-device.tmpl \ | |
36 | choose-make.tmpl \ | |
37 | choose-model.tmpl \ | |
38 | choose-serial.tmpl \ | |
39 | choose-uri.tmpl \ | |
40 | class-added.tmpl \ | |
41 | class-confirm.tmpl \ | |
42 | class-deleted.tmpl \ | |
fa73b229 | 43 | class-jobs-header.tmpl \ |
ef416fc2 | 44 | class-modified.tmpl \ |
fa73b229 | 45 | classes.tmpl \ |
46 | classes-header.tmpl \ | |
ef416fc2 | 47 | edit-config.tmpl \ |
48 | error.tmpl \ | |
fa73b229 | 49 | error-op.tmpl \ |
ef416fc2 | 50 | header.tmpl \ |
51 | help-header.tmpl \ | |
4744bd90 | 52 | help-printable.tmpl \ |
ef416fc2 | 53 | job-cancel.tmpl \ |
54 | job-hold.tmpl \ | |
fa73b229 | 55 | job-move.tmpl \ |
56 | job-moved.tmpl \ | |
ef416fc2 | 57 | job-release.tmpl \ |
58 | job-restart.tmpl \ | |
59 | jobs.tmpl \ | |
fa73b229 | 60 | jobs-header.tmpl \ |
b423cd4c | 61 | maintenance.tmpl \ |
ef416fc2 | 62 | modify-class.tmpl \ |
63 | modify-printer.tmpl \ | |
d09495fa | 64 | norestart.tmpl \ |
ef416fc2 | 65 | option-boolean.tmpl \ |
66 | option-conflict.tmpl \ | |
67 | option-header.tmpl \ | |
68 | option-pickmany.tmpl \ | |
69 | option-pickone.tmpl \ | |
70 | option-trailer.tmpl \ | |
fa73b229 | 71 | pager.tmpl \ |
ef416fc2 | 72 | printer-accept.tmpl \ |
73 | printer-added.tmpl \ | |
74 | printer-configured.tmpl \ | |
75 | printer-confirm.tmpl \ | |
76 | printer-default.tmpl \ | |
77 | printer-deleted.tmpl \ | |
fa73b229 | 78 | printer-jobs-header.tmpl \ |
ef416fc2 | 79 | printer-modified.tmpl \ |
80 | printer-purge.tmpl \ | |
81 | printer-reject.tmpl \ | |
82 | printer-start.tmpl \ | |
ef416fc2 | 83 | printer-stop.tmpl \ |
fa73b229 | 84 | printers.tmpl \ |
85 | printers-header.tmpl \ | |
ef416fc2 | 86 | restart.tmpl \ |
4400e98d | 87 | samba-export.tmpl \ |
88 | samba-exported.tmpl \ | |
fa73b229 | 89 | search.tmpl \ |
ef416fc2 | 90 | set-printer-options-header.tmpl \ |
91 | set-printer-options-trailer.tmpl \ | |
92 | test-page.tmpl \ | |
93 | trailer.tmpl \ | |
94 | users.tmpl | |
95 | ||
96 | ||
97 | # | |
98 | # Make everything... | |
99 | # | |
100 | ||
101 | all: | |
102 | ||
103 | ||
104 | # | |
105 | # Clean all config and object files... | |
106 | # | |
107 | ||
108 | clean: | |
109 | ||
110 | ||
757d2cad | 111 | # |
112 | # Dummy depend... | |
113 | # | |
114 | ||
115 | depend: | |
116 | ||
117 | ||
ef416fc2 | 118 | # |
119 | # Install files... | |
120 | # | |
121 | ||
ed486911 | 122 | install: all $(INSTALL_LANGUAGES) |
bd7854cb | 123 | $(INSTALL_DIR) -m 755 $(DATADIR)/templates |
ef416fc2 | 124 | for file in $(FILES); do \ |
125 | $(INSTALL_DATA) $$file $(DATADIR)/templates; \ | |
126 | done | |
ed486911 | 127 | |
128 | install-languages: | |
bd7854cb | 129 | for lang in $(LANGUAGES); do \ |
130 | $(INSTALL_DIR) -m 755 $(DATADIR)/templates/$$lang; \ | |
131 | for file in $(FILES); do \ | |
4744bd90 | 132 | if test -f $$lang/$$file; then \ |
bd7854cb | 133 | $(INSTALL_DATA) $$lang/$$file $(DATADIR)/templates/$$lang; \ |
134 | fi \ | |
135 | done \ | |
136 | done | |
ef416fc2 | 137 | |
138 | ||
139 | # | |
757d2cad | 140 | # Uninstall files... |
141 | # | |
142 | ||
ed486911 | 143 | uninstall: $(UNINSTALL_LANGUAGES) |
757d2cad | 144 | for file in $(FILES); do \ |
145 | $(RM) $(DATADIR)/templates/$$file; \ | |
146 | done | |
ed486911 | 147 | -$(RMDIR) $(DATADIR)/templates |
148 | ||
149 | uninstall-languages: | |
757d2cad | 150 | for lang in $(LANGUAGES); do \ |
151 | for file in $(FILES); do \ | |
152 | $(RM) $(DATADIR)/templates/$$lang/$$file; \ | |
153 | done \ | |
154 | $(RMDIR) $(DATADIR)/templates/$$lang; \ | |
155 | done | |
757d2cad | 156 | |
157 | ||
158 | # | |
d09495fa | 159 | # End of "$Id: Makefile 5878 2006-08-24 15:55:42Z mike $". |
ef416fc2 | 160 | # |