]> git.ipfire.org Git - thirdparty/cups.git/blob - templates/Makefile
Load cups into easysw/current.
[thirdparty/cups.git] / templates / Makefile
1 #
2 # "$Id: Makefile 5308 2006-03-18 13:18:18Z mike $"
3 #
4 # Template makefile for the Common UNIX Printing System (CUPS).
5 #
6 # Copyright 1993-2006 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 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 \
43 class-jobs-header.tmpl \
44 class-modified.tmpl \
45 classes.tmpl \
46 classes-header.tmpl \
47 edit-config.tmpl \
48 error.tmpl \
49 error-op.tmpl \
50 header.tmpl \
51 help-header.tmpl \
52 help-printable.tmpl \
53 job-cancel.tmpl \
54 job-hold.tmpl \
55 job-move.tmpl \
56 job-moved.tmpl \
57 job-release.tmpl \
58 job-restart.tmpl \
59 jobs.tmpl \
60 jobs-header.tmpl \
61 maintenance.tmpl \
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 \
70 pager.tmpl \
71 printer-accept.tmpl \
72 printer-added.tmpl \
73 printer-configured.tmpl \
74 printer-confirm.tmpl \
75 printer-default.tmpl \
76 printer-deleted.tmpl \
77 printer-jobs-header.tmpl \
78 printer-modified.tmpl \
79 printer-purge.tmpl \
80 printer-reject.tmpl \
81 printer-start.tmpl \
82 printer-stop.tmpl \
83 printers.tmpl \
84 printers-header.tmpl \
85 restart.tmpl \
86 samba-export.tmpl \
87 samba-exported.tmpl \
88 search.tmpl \
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
110 #
111 # Dummy depend...
112 #
113
114 depend:
115
116
117 #
118 # Install files...
119 #
120
121 install: all
122 $(INSTALL_DIR) -m 755 $(DATADIR)/templates
123 for file in $(FILES); do \
124 $(INSTALL_DATA) $$file $(DATADIR)/templates; \
125 done
126 for lang in $(LANGUAGES); do \
127 $(INSTALL_DIR) -m 755 $(DATADIR)/templates/$$lang; \
128 for file in $(FILES); do \
129 if test -f $$lang/$$file; then \
130 $(INSTALL_DATA) $$lang/$$file $(DATADIR)/templates/$$lang; \
131 fi \
132 done \
133 done
134
135
136 #
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 #
154 # End of "$Id: Makefile 5308 2006-03-18 13:18:18Z mike $".
155 #