]> git.ipfire.org Git - thirdparty/cups.git/blob - templates/Makefile
b374ddda35f2d6805be8c90a9c50c4c5ed8c69e4
[thirdparty/cups.git] / templates / Makefile
1 #
2 # "$Id: Makefile 5229 2006-03-05 16:48:12Z 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 LANGUAGES = ja
32 FILES = \
33 add-class.tmpl \
34 add-printer.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 maintenance.tmpl \
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 \
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
123 $(INSTALL_DIR) -m 755 $(DATADIR)/templates
124 for file in $(FILES); do \
125 $(INSTALL_DATA) $$file $(DATADIR)/templates; \
126 done
127 for lang in $(LANGUAGES); do \
128 $(INSTALL_DIR) -m 755 $(DATADIR)/templates/$$lang; \
129 for file in $(FILES); do \
130 if test -f $$lang/$$file; then \
131 $(INSTALL_DATA) $$lang/$$file $(DATADIR)/templates/$$lang; \
132 fi \
133 done \
134 done
135
136
137 #
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 $".
156 #