]> git.ipfire.org Git - thirdparty/cups.git/blob - templates/Makefile
Load cups into easysw/current.
[thirdparty/cups.git] / templates / Makefile
1 #
2 # "$Id: Makefile 5878 2006-08-24 15:55:42Z 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 norestart.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 \
71 pager.tmpl \
72 printer-accept.tmpl \
73 printer-added.tmpl \
74 printer-configured.tmpl \
75 printer-confirm.tmpl \
76 printer-default.tmpl \
77 printer-deleted.tmpl \
78 printer-jobs-header.tmpl \
79 printer-modified.tmpl \
80 printer-purge.tmpl \
81 printer-reject.tmpl \
82 printer-start.tmpl \
83 printer-stop.tmpl \
84 printers.tmpl \
85 printers-header.tmpl \
86 restart.tmpl \
87 samba-export.tmpl \
88 samba-exported.tmpl \
89 search.tmpl \
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
111 #
112 # Dummy depend...
113 #
114
115 depend:
116
117
118 #
119 # Install files...
120 #
121
122 install: all $(INSTALL_LANGUAGES)
123 $(INSTALL_DIR) -m 755 $(DATADIR)/templates
124 for file in $(FILES); do \
125 $(INSTALL_DATA) $$file $(DATADIR)/templates; \
126 done
127
128 install-languages:
129 for lang in $(LANGUAGES); do \
130 $(INSTALL_DIR) -m 755 $(DATADIR)/templates/$$lang; \
131 for file in $(FILES); do \
132 if test -f $$lang/$$file; then \
133 $(INSTALL_DATA) $$lang/$$file $(DATADIR)/templates/$$lang; \
134 fi \
135 done \
136 done
137
138
139 #
140 # Uninstall files...
141 #
142
143 uninstall: $(UNINSTALL_LANGUAGES)
144 for file in $(FILES); do \
145 $(RM) $(DATADIR)/templates/$$file; \
146 done
147 -$(RMDIR) $(DATADIR)/templates
148
149 uninstall-languages:
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
156
157
158 #
159 # End of "$Id: Makefile 5878 2006-08-24 15:55:42Z mike $".
160 #