]> git.ipfire.org Git - thirdparty/cups.git/blob - templates/Makefile
Load cups into easysw/current.
[thirdparty/cups.git] / templates / Makefile
1 #
2 # "$Id: Makefile 6521 2007-05-08 02:11:10Z mike $"
3 #
4 # Template makefile for the Common UNIX Printing System (CUPS).
5 #
6 # Copyright 1993-2007 by Easy Software Products.
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
31 FILES = \
32 add-class.tmpl \
33 add-printer.tmpl \
34 add-rss-subscription.tmpl \
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 \
44 class-jobs-header.tmpl \
45 class-modified.tmpl \
46 classes.tmpl \
47 classes-header.tmpl \
48 edit-config.tmpl \
49 error.tmpl \
50 error-op.tmpl \
51 header.tmpl \
52 help-header.tmpl \
53 help-printable.tmpl \
54 job-cancel.tmpl \
55 job-hold.tmpl \
56 job-move.tmpl \
57 job-moved.tmpl \
58 job-release.tmpl \
59 job-restart.tmpl \
60 jobs.tmpl \
61 jobs-header.tmpl \
62 list-available-printers.tmpl \
63 maintenance.tmpl \
64 modify-class.tmpl \
65 modify-printer.tmpl \
66 norestart.tmpl \
67 option-boolean.tmpl \
68 option-conflict.tmpl \
69 option-header.tmpl \
70 option-pickmany.tmpl \
71 option-pickone.tmpl \
72 option-trailer.tmpl \
73 pager.tmpl \
74 printer-accept.tmpl \
75 printer-added.tmpl \
76 printer-configured.tmpl \
77 printer-confirm.tmpl \
78 printer-default.tmpl \
79 printer-deleted.tmpl \
80 printer-jobs-header.tmpl \
81 printer-modified.tmpl \
82 printer-purge.tmpl \
83 printer-reject.tmpl \
84 printer-start.tmpl \
85 printer-stop.tmpl \
86 printers.tmpl \
87 printers-header.tmpl \
88 restart.tmpl \
89 samba-export.tmpl \
90 samba-exported.tmpl \
91 search.tmpl \
92 set-printer-options-header.tmpl \
93 set-printer-options-trailer.tmpl \
94 subscription-added.tmpl \
95 subscription-canceled.tmpl \
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
115 #
116 # Dummy depend...
117 #
118
119 depend:
120
121
122 #
123 # Install files...
124 #
125
126 install: all $(INSTALL_LANGUAGES)
127 $(INSTALL_DIR) -m 755 $(DATADIR)/templates
128 for file in $(FILES); do \
129 $(INSTALL_DATA) $$file $(DATADIR)/templates; \
130 done
131
132 install-languages:
133 for lang in $(LANGUAGES); do \
134 $(INSTALL_DIR) -m 755 $(DATADIR)/templates/$$lang; \
135 for file in $(FILES); do \
136 if test -f $$lang/$$file; then \
137 $(INSTALL_DATA) $$lang/$$file $(DATADIR)/templates/$$lang; \
138 fi \
139 done \
140 done
141
142
143 #
144 # Uninstall files...
145 #
146
147 uninstall: $(UNINSTALL_LANGUAGES)
148 for file in $(FILES); do \
149 $(RM) $(DATADIR)/templates/$$file; \
150 done
151 -$(RMDIR) $(DATADIR)/templates
152
153 uninstall-languages:
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
160
161
162 #
163 # End of "$Id: Makefile 6521 2007-05-08 02:11:10Z mike $".
164 #