]>
Commit | Line | Data |
---|---|---|
ef416fc2 | 1 | # |
757d2cad | 2 | # "$Id: Makefile 5229 2006-03-05 16:48:12Z 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 | ||
bd7854cb | 31 | LANGUAGES = ja |
fa73b229 | 32 | FILES = \ |
33 | add-class.tmpl \ | |
ef416fc2 | 34 | add-printer.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 \ |
b423cd4c | 62 | maintenance.tmpl \ |
ef416fc2 | 63 | modify-class.tmpl \ |
64 | modify-printer.tmpl \ | |
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 | ||
fa73b229 | 122 | install: all |
bd7854cb | 123 | $(INSTALL_DIR) -m 755 $(DATADIR)/templates |
ef416fc2 | 124 | for file in $(FILES); do \ |
125 | $(INSTALL_DATA) $$file $(DATADIR)/templates; \ | |
126 | done | |
bd7854cb | 127 | for lang in $(LANGUAGES); do \ |
128 | $(INSTALL_DIR) -m 755 $(DATADIR)/templates/$$lang; \ | |
129 | for file in $(FILES); do \ | |
4744bd90 | 130 | if test -f $$lang/$$file; then \ |
bd7854cb | 131 | $(INSTALL_DATA) $$lang/$$file $(DATADIR)/templates/$$lang; \ |
132 | fi \ | |
133 | done \ | |
134 | done | |
ef416fc2 | 135 | |
136 | ||
137 | # | |
757d2cad | 138 | # Uninstall files... |
139 | # | |
140 | ||
141 | uninstall: | |
142 | for file in $(FILES); do \ | |
143 | $(RM) $(DATADIR)/templates/$$file; \ | |
144 | done | |
145 | for lang in $(LANGUAGES); do \ | |
146 | for file in $(FILES); do \ | |
147 | $(RM) $(DATADIR)/templates/$$lang/$$file; \ | |
148 | done \ | |
149 | $(RMDIR) $(DATADIR)/templates/$$lang; \ | |
150 | done | |
151 | -$(RMDIR) $(DATADIR)/templates | |
152 | ||
153 | ||
154 | # | |
155 | # End of "$Id: Makefile 5229 2006-03-05 16:48:12Z mike $". | |
ef416fc2 | 156 | # |