]> git.ipfire.org Git - thirdparty/cups.git/blame - data/Makefile
Don't install banner and self-test files (STR #4518)
[thirdparty/cups.git] / data / Makefile
CommitLineData
ef416fc2 1#
f2d18633 2# "$Id$"
ef416fc2 3#
321d8d57 4# Datafile makefile for CUPS.
ef416fc2 5#
95fcd65c 6# Copyright 2007-2014 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
ac884b6a
MS
22PPDCFILES = \
23 epson.h \
ac884b6a
MS
24 font.defs \
25 hp.h \
26 label.h \
27 media.defs \
ac884b6a
MS
28 raster.defs
29
ef416fc2 30
31#
32# Make everything...
33#
34
35all:
36
37
c9fc04c6
MS
38#
39# Make library targets...
40#
41
42libs:
43
44
5f64df29
MS
45#
46# Make unit tests...
47#
48
49unittests:
50
51
ef416fc2 52#
53# Clean all config and object files...
54#
55
56clean:
57
58
757d2cad 59#
60# Dummy depend...
61#
62
63depend:
64
65
ef416fc2 66#
50fe7201 67# Install all targets...
ef416fc2 68#
69
50fe7201
MS
70install: all install-data install-headers install-libs install-exec
71
72
73#
74# Install data files...
75#
76
77install-data:
bd7854cb 78 $(INSTALL_DIR) -m 755 $(DATADIR)/banners
bd7854cb 79 $(INSTALL_DIR) -m 755 $(DATADIR)/data
a0f6818e 80 $(INSTALL_DIR) -m 755 $(DATADIR)/model
ac884b6a
MS
81 $(INSTALL_DIR) -m 755 $(DATADIR)/ppdc
82 for file in $(PPDCFILES); do \
83 $(INSTALL_DATA) $$file $(DATADIR)/ppdc; \
84 done
bd7854cb 85 $(INSTALL_DIR) -m 755 $(DATADIR)/profiles
ef416fc2 86
87
50fe7201
MS
88#
89# Install programs...
90#
91
92install-exec:
93
94
95#
96# Install headers...
97#
98
99install-headers:
100
101
102#
103# Install libraries...
104#
105
106install-libs:
107
108
ef416fc2 109#
757d2cad 110# Uninstall files...
111#
112
113uninstall:
ac884b6a
MS
114 for file in $(PPDCFILES); do \
115 $(RM) $(DATADIR)/ppdc/$$file; \
116 done
757d2cad 117 -$(RMDIR) $(DATADIR)/profiles
ac884b6a 118 -$(RMDIR) $(DATADIR)/ppdc
a0f6818e 119 -$(RMDIR) $(DATADIR)/model
757d2cad 120 -$(RMDIR) $(DATADIR)/data
757d2cad 121 -$(RMDIR) $(DATADIR)/banners
122 -$(RMDIR) $(DATADIR)
123
124
125#
f2d18633 126# End of "$Id$".
ef416fc2 127#