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