2 # "$Id: Makefile 7871 2008-08-27 21:12:43Z mike $"
4 # Datafile makefile for the Common UNIX Printing System (CUPS).
6 # Copyright 2007-2008 by Apple Inc.
7 # Copyright 1993-2006 by Easy Software Products.
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/".
96 # Make library targets...
110 # Clean all config and object files...
124 # Install all targets...
127 install: all install-data install-headers install-libs install-exec
131 # Install data files...
135 $(INSTALL_DIR
) -m
755 $(DATADIR
)/banners
136 for file in
$(BANNERS
); do \
137 $(INSTALL_DATA
) $$file $(DATADIR
)/banners
; \
139 $(INSTALL_DIR
) -m
755 $(DATADIR
)/charmaps
140 for file in
$(CHARMAPS
); do \
141 $(INSTALL_DATA
) $$file $(DATADIR
)/charmaps
; \
143 $(INSTALL_DIR
) -m
755 $(DATADIR
)/charsets
144 for file in
$(CHARSETS
); do \
145 $(INSTALL_DATA
) $$file $(DATADIR
)/charsets
; \
147 $(INSTALL_DIR
) -m
755 $(DATADIR
)/data
148 for file in
$(DATAFILES
); do \
149 $(INSTALL_DATA
) $$file $(DATADIR
)/data
; \
151 $(INSTALL_DIR
) -m
755 $(DATADIR
)/model
152 $(INSTALL_DIR
) -m
755 $(DATADIR
)/ppdc
153 for file in
$(PPDCFILES
); do \
154 $(INSTALL_DATA
) $$file $(DATADIR
)/ppdc
; \
156 $(INSTALL_DIR
) -m
755 $(DATADIR
)/profiles
160 # Install programs...
174 # Install libraries...
185 for file in
$(BANNERS
); do \
186 $(RM
) $(DATADIR
)/banners
/$$file; \
188 for file in
$(CHARMAPS
); do \
189 $(RM
) $(DATADIR
)/charmaps
/$$file; \
191 for file in
$(CHARSETS
); do \
192 $(RM
) $(DATADIR
)/charsets
/$$file; \
194 for file in
$(DATAFILES
); do \
195 $(RM
) $(DATADIR
)/data
/$$file; \
197 for file in
$(PPDCFILES
); do \
198 $(RM
) $(DATADIR
)/ppdc
/$$file; \
200 -$(RMDIR
) $(DATADIR
)/profiles
201 -$(RMDIR
) $(DATADIR
)/ppdc
202 -$(RMDIR
) $(DATADIR
)/model
203 -$(RMDIR
) $(DATADIR
)/data
204 -$(RMDIR
) $(DATADIR
)/charsets
205 -$(RMDIR
) $(DATADIR
)/charmaps
206 -$(RMDIR
) $(DATADIR
)/banners
211 # End of "$Id: Makefile 7871 2008-08-27 21:12:43Z mike $".