]>
Commit | Line | Data |
---|---|---|
ef416fc2 | 1 | # |
e1d6a774 | 2 | # "$Id: Makefile 5308 2006-03-18 13:18:18Z 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 \ | |
64 | option-boolean.tmpl \ | |
65 | option-conflict.tmpl \ | |
66 | option-header.tmpl \ | |
67 | option-pickmany.tmpl \ | |
68 | option-pickone.tmpl \ | |
69 | option-trailer.tmpl \ | |
fa73b229 | 70 | pager.tmpl \ |
ef416fc2 | 71 | printer-accept.tmpl \ |
72 | printer-added.tmpl \ | |
73 | printer-configured.tmpl \ | |
74 | printer-confirm.tmpl \ | |
75 | printer-default.tmpl \ | |
76 | printer-deleted.tmpl \ | |
fa73b229 | 77 | printer-jobs-header.tmpl \ |
ef416fc2 | 78 | printer-modified.tmpl \ |
79 | printer-purge.tmpl \ | |
80 | printer-reject.tmpl \ | |
81 | printer-start.tmpl \ | |
ef416fc2 | 82 | printer-stop.tmpl \ |
fa73b229 | 83 | printers.tmpl \ |
84 | printers-header.tmpl \ | |
ef416fc2 | 85 | restart.tmpl \ |
4400e98d | 86 | samba-export.tmpl \ |
87 | samba-exported.tmpl \ | |
fa73b229 | 88 | search.tmpl \ |
ef416fc2 | 89 | set-printer-options-header.tmpl \ |
90 | set-printer-options-trailer.tmpl \ | |
91 | test-page.tmpl \ | |
92 | trailer.tmpl \ | |
93 | users.tmpl | |
94 | ||
95 | ||
96 | # | |
97 | # Make everything... | |
98 | # | |
99 | ||
100 | all: | |
101 | ||
102 | ||
103 | # | |
104 | # Clean all config and object files... | |
105 | # | |
106 | ||
107 | clean: | |
108 | ||
109 | ||
757d2cad | 110 | # |
111 | # Dummy depend... | |
112 | # | |
113 | ||
114 | depend: | |
115 | ||
116 | ||
ef416fc2 | 117 | # |
118 | # Install files... | |
119 | # | |
120 | ||
fa73b229 | 121 | install: all |
bd7854cb | 122 | $(INSTALL_DIR) -m 755 $(DATADIR)/templates |
ef416fc2 | 123 | for file in $(FILES); do \ |
124 | $(INSTALL_DATA) $$file $(DATADIR)/templates; \ | |
125 | done | |
bd7854cb | 126 | for lang in $(LANGUAGES); do \ |
127 | $(INSTALL_DIR) -m 755 $(DATADIR)/templates/$$lang; \ | |
128 | for file in $(FILES); do \ | |
4744bd90 | 129 | if test -f $$lang/$$file; then \ |
bd7854cb | 130 | $(INSTALL_DATA) $$lang/$$file $(DATADIR)/templates/$$lang; \ |
131 | fi \ | |
132 | done \ | |
133 | done | |
ef416fc2 | 134 | |
135 | ||
136 | # | |
757d2cad | 137 | # Uninstall files... |
138 | # | |
139 | ||
140 | uninstall: | |
141 | for file in $(FILES); do \ | |
142 | $(RM) $(DATADIR)/templates/$$file; \ | |
143 | done | |
144 | for lang in $(LANGUAGES); do \ | |
145 | for file in $(FILES); do \ | |
146 | $(RM) $(DATADIR)/templates/$$lang/$$file; \ | |
147 | done \ | |
148 | $(RMDIR) $(DATADIR)/templates/$$lang; \ | |
149 | done | |
150 | -$(RMDIR) $(DATADIR)/templates | |
151 | ||
152 | ||
153 | # | |
e1d6a774 | 154 | # End of "$Id: Makefile 5308 2006-03-18 13:18:18Z mike $". |
ef416fc2 | 155 | # |