]> git.ipfire.org Git - thirdparty/cups.git/blame - data/Makefile
Merge changes from CUPS 1.6svn-r9939.
[thirdparty/cups.git] / data / Makefile
CommitLineData
ef416fc2 1#
b19ccc9e 2# "$Id: Makefile 7871 2008-08-27 21:12:43Z mike $"
ef416fc2 3#
321d8d57 4# Datafile makefile for CUPS.
ef416fc2 5#
321d8d57 6# Copyright 2007-2011 by Apple Inc.
bd7854cb 7# Copyright 1993-2006 by Easy Software Products.
ef416fc2 8#
9# These coded instructions, statements, and computer programs are the
bc44d920 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/".
ef416fc2 14#
15
16include ../Makedefs
17
18#
19# Data files...
20#
21
22BANNERS = \
23 classified \
24 confidential \
25 secret \
26 standard \
27 topsecret \
28 unclassified
29
ef416fc2 30DATAFILES = \
6e8b116d 31 testprint
ef416fc2 32
ac884b6a
MS
33PPDCFILES = \
34 epson.h \
ac884b6a
MS
35 font.defs \
36 hp.h \
37 label.h \
38 media.defs \
ac884b6a
MS
39 raster.defs
40
ef416fc2 41
42#
43# Make everything...
44#
45
46all:
47
48
c9fc04c6
MS
49#
50# Make library targets...
51#
52
53libs:
54
55
5f64df29
MS
56#
57# Make unit tests...
58#
59
60unittests:
61
62
ef416fc2 63#
64# Clean all config and object files...
65#
66
67clean:
68
69
757d2cad 70#
71# Dummy depend...
72#
73
74depend:
75
76
ef416fc2 77#
50fe7201 78# Install all targets...
ef416fc2 79#
80
50fe7201
MS
81install: all install-data install-headers install-libs install-exec
82
83
84#
85# Install data files...
86#
87
88install-data:
bd7854cb 89 $(INSTALL_DIR) -m 755 $(DATADIR)/banners
ef416fc2 90 for file in $(BANNERS); do \
91 $(INSTALL_DATA) $$file $(DATADIR)/banners; \
92 done
bd7854cb 93 $(INSTALL_DIR) -m 755 $(DATADIR)/data
ef416fc2 94 for file in $(DATAFILES); do \
95 $(INSTALL_DATA) $$file $(DATADIR)/data; \
96 done
a0f6818e 97 $(INSTALL_DIR) -m 755 $(DATADIR)/model
ac884b6a
MS
98 $(INSTALL_DIR) -m 755 $(DATADIR)/ppdc
99 for file in $(PPDCFILES); do \
100 $(INSTALL_DATA) $$file $(DATADIR)/ppdc; \
101 done
bd7854cb 102 $(INSTALL_DIR) -m 755 $(DATADIR)/profiles
ef416fc2 103
104
50fe7201
MS
105#
106# Install programs...
107#
108
109install-exec:
110
111
112#
113# Install headers...
114#
115
116install-headers:
117
118
119#
120# Install libraries...
121#
122
123install-libs:
124
125
ef416fc2 126#
757d2cad 127# Uninstall files...
128#
129
130uninstall:
131 for file in $(BANNERS); do \
132 $(RM) $(DATADIR)/banners/$$file; \
133 done
757d2cad 134 for file in $(DATAFILES); do \
135 $(RM) $(DATADIR)/data/$$file; \
136 done
ac884b6a
MS
137 for file in $(PPDCFILES); do \
138 $(RM) $(DATADIR)/ppdc/$$file; \
139 done
757d2cad 140 -$(RMDIR) $(DATADIR)/profiles
ac884b6a 141 -$(RMDIR) $(DATADIR)/ppdc
a0f6818e 142 -$(RMDIR) $(DATADIR)/model
757d2cad 143 -$(RMDIR) $(DATADIR)/data
757d2cad 144 -$(RMDIR) $(DATADIR)/banners
145 -$(RMDIR) $(DATADIR)
146
147
148#
b19ccc9e 149# End of "$Id: Makefile 7871 2008-08-27 21:12:43Z mike $".
ef416fc2 150#