]> git.ipfire.org Git - thirdparty/cups.git/blob - data/Makefile
Merge changes from CUPS 1.6svn-r9939.
[thirdparty/cups.git] / data / Makefile
1 #
2 # "$Id: Makefile 7871 2008-08-27 21:12:43Z mike $"
3 #
4 # Datafile makefile for CUPS.
5 #
6 # Copyright 2007-2011 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 DATAFILES = \
31 testprint
32
33 PPDCFILES = \
34 epson.h \
35 font.defs \
36 hp.h \
37 label.h \
38 media.defs \
39 raster.defs
40
41
42 #
43 # Make everything...
44 #
45
46 all:
47
48
49 #
50 # Make library targets...
51 #
52
53 libs:
54
55
56 #
57 # Make unit tests...
58 #
59
60 unittests:
61
62
63 #
64 # Clean all config and object files...
65 #
66
67 clean:
68
69
70 #
71 # Dummy depend...
72 #
73
74 depend:
75
76
77 #
78 # Install all targets...
79 #
80
81 install: all install-data install-headers install-libs install-exec
82
83
84 #
85 # Install data files...
86 #
87
88 install-data:
89 $(INSTALL_DIR) -m 755 $(DATADIR)/banners
90 for file in $(BANNERS); do \
91 $(INSTALL_DATA) $$file $(DATADIR)/banners; \
92 done
93 $(INSTALL_DIR) -m 755 $(DATADIR)/data
94 for file in $(DATAFILES); do \
95 $(INSTALL_DATA) $$file $(DATADIR)/data; \
96 done
97 $(INSTALL_DIR) -m 755 $(DATADIR)/model
98 $(INSTALL_DIR) -m 755 $(DATADIR)/ppdc
99 for file in $(PPDCFILES); do \
100 $(INSTALL_DATA) $$file $(DATADIR)/ppdc; \
101 done
102 $(INSTALL_DIR) -m 755 $(DATADIR)/profiles
103
104
105 #
106 # Install programs...
107 #
108
109 install-exec:
110
111
112 #
113 # Install headers...
114 #
115
116 install-headers:
117
118
119 #
120 # Install libraries...
121 #
122
123 install-libs:
124
125
126 #
127 # Uninstall files...
128 #
129
130 uninstall:
131 for file in $(BANNERS); do \
132 $(RM) $(DATADIR)/banners/$$file; \
133 done
134 for file in $(DATAFILES); do \
135 $(RM) $(DATADIR)/data/$$file; \
136 done
137 for file in $(PPDCFILES); do \
138 $(RM) $(DATADIR)/ppdc/$$file; \
139 done
140 -$(RMDIR) $(DATADIR)/profiles
141 -$(RMDIR) $(DATADIR)/ppdc
142 -$(RMDIR) $(DATADIR)/model
143 -$(RMDIR) $(DATADIR)/data
144 -$(RMDIR) $(DATADIR)/banners
145 -$(RMDIR) $(DATADIR)
146
147
148 #
149 # End of "$Id: Makefile 7871 2008-08-27 21:12:43Z mike $".
150 #