]> git.ipfire.org Git - thirdparty/cups.git/blob - data/Makefile
9b37aed52d8f51acbf93a6535d3e6bb7ef3db0e3
[thirdparty/cups.git] / data / Makefile
1 #
2 # "$Id: Makefile 6649 2007-07-11 21:46:42Z mike $"
3 #
4 # Datafile makefile for the Common UNIX Printing System (CUPS).
5 #
6 # Copyright 2007 by Apple Inc.
7 # Copyright 1993-2006 by Easy Software Products.
8 #
9 # These coded instructions, statements, and computer programs are the
10 # property of Apple Inc. and are protected by Federal copyright
11 # law. Distribution and use rights are outlined in the file "LICENSE.txt"
12 # which should have been included with this file. If this file is
13 # file is missing or damaged, see the license at "http://www.cups.org/".
14 #
15
16 include ../Makedefs
17
18 #
19 # Data files...
20 #
21
22 BANNERS = \
23 classified \
24 confidential \
25 secret \
26 standard \
27 topsecret \
28 unclassified
29
30 CHARMAPS = \
31 euc-cn.txt \
32 euc-jp.txt \
33 euc-kr.txt \
34 euc-tw.txt \
35 iso-8859-10.txt \
36 iso-8859-11.txt \
37 iso-8859-13.txt \
38 iso-8859-14.txt \
39 iso-8859-15.txt \
40 iso-8859-16.txt \
41 iso-8859-1.txt \
42 iso-8859-2.txt \
43 iso-8859-3.txt \
44 iso-8859-4.txt \
45 iso-8859-5.txt \
46 iso-8859-6.txt \
47 iso-8859-7.txt \
48 iso-8859-8.txt \
49 iso-8859-9.txt \
50 koi8-r.txt \
51 koi8-u.txt \
52 mac-roman.txt \
53 windows-1250.txt \
54 windows-1251.txt \
55 windows-1252.txt \
56 windows-1253.txt \
57 windows-1254.txt \
58 windows-1255.txt \
59 windows-1256.txt \
60 windows-1257.txt \
61 windows-1258.txt \
62 windows-1361.txt \
63 windows-874.txt \
64 windows-932.txt \
65 windows-936.txt \
66 windows-949.txt \
67 windows-950.txt
68
69 CHARSETS = \
70 windows-874 \
71 windows-1250 \
72 windows-1251 \
73 windows-1252 \
74 windows-1253 \
75 windows-1254 \
76 windows-1255 \
77 windows-1256 \
78 windows-1257 \
79 windows-1258 \
80 koi8-r \
81 koi8-u \
82 iso-8859-1 \
83 iso-8859-2 \
84 iso-8859-3 \
85 iso-8859-4 \
86 iso-8859-5 \
87 iso-8859-6 \
88 iso-8859-7 \
89 iso-8859-8 \
90 iso-8859-9 \
91 iso-8859-10 \
92 iso-8859-13 \
93 iso-8859-14 \
94 iso-8859-15 \
95 utf-8
96
97 DATAFILES = \
98 HPGLprolog \
99 psglyphs \
100 testprint.ps
101
102
103 #
104 # Make everything...
105 #
106
107 all:
108
109
110 #
111 # Clean all config and object files...
112 #
113
114 clean:
115
116
117 #
118 # Dummy depend...
119 #
120
121 depend:
122
123
124 #
125 # Install files...
126 #
127
128 install: all
129 $(INSTALL_DIR) -m 755 $(DATADIR)/banners
130 for file in $(BANNERS); do \
131 $(INSTALL_DATA) $$file $(DATADIR)/banners; \
132 done
133 $(INSTALL_DIR) -m 755 $(DATADIR)/charmaps
134 for file in $(CHARMAPS); do \
135 $(INSTALL_DATA) $$file $(DATADIR)/charmaps; \
136 done
137 $(INSTALL_DIR) -m 755 $(DATADIR)/charsets
138 for file in $(CHARSETS); do \
139 $(INSTALL_DATA) $$file $(DATADIR)/charsets; \
140 done
141 $(INSTALL_DIR) -m 755 $(DATADIR)/data
142 for file in $(DATAFILES); do \
143 $(INSTALL_DATA) $$file $(DATADIR)/data; \
144 done
145 $(INSTALL_DIR) -m 755 $(DATADIR)/profiles
146
147
148 #
149 # Uninstall files...
150 #
151
152 uninstall:
153 for file in $(BANNERS); do \
154 $(RM) $(DATADIR)/banners/$$file; \
155 done
156 for file in $(CHARMAPS); do \
157 $(RM) $(DATADIR)/charmaps/$$file; \
158 done
159 for file in $(CHARSETS); do \
160 $(RM) $(DATADIR)/charsets/$$file; \
161 done
162 for file in $(DATAFILES); do \
163 $(RM) $(DATADIR)/data/$$file; \
164 done
165 -$(RMDIR) $(DATADIR)/profiles
166 -$(RMDIR) $(DATADIR)/data
167 -$(RMDIR) $(DATADIR)/charsets
168 -$(RMDIR) $(DATADIR)/charmaps
169 -$(RMDIR) $(DATADIR)/banners
170 -$(RMDIR) $(DATADIR)
171
172
173 #
174 # End of "$Id: Makefile 6649 2007-07-11 21:46:42Z mike $".
175 #