2 # "$Id: Makefile 7014 2007-10-10 21:57: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...
103 # Clean all config and object files...
117 # Install all targets...
120 install: all install-data install-headers install-libs install-exec
124 # Install data files...
128 $(INSTALL_DIR
) -m
755 $(DATADIR
)/banners
129 for file in
$(BANNERS
); do \
130 $(INSTALL_DATA
) $$file $(DATADIR
)/banners
; \
132 $(INSTALL_DIR
) -m
755 $(DATADIR
)/charmaps
133 for file in
$(CHARMAPS
); do \
134 $(INSTALL_DATA
) $$file $(DATADIR
)/charmaps
; \
136 $(INSTALL_DIR
) -m
755 $(DATADIR
)/charsets
137 for file in
$(CHARSETS
); do \
138 $(INSTALL_DATA
) $$file $(DATADIR
)/charsets
; \
140 $(INSTALL_DIR
) -m
755 $(DATADIR
)/data
141 for file in
$(DATAFILES
); do \
142 $(INSTALL_DATA
) $$file $(DATADIR
)/data
; \
144 $(INSTALL_DIR
) -m
755 $(DATADIR
)/model
145 $(INSTALL_DIR
) -m
755 $(DATADIR
)/ppdc
146 for file in
$(PPDCFILES
); do \
147 $(INSTALL_DATA
) $$file $(DATADIR
)/ppdc
; \
149 $(INSTALL_DIR
) -m
755 $(DATADIR
)/profiles
153 # Install programs...
167 # Install libraries...
178 for file in
$(BANNERS
); do \
179 $(RM
) $(DATADIR
)/banners
/$$file; \
181 for file in
$(CHARMAPS
); do \
182 $(RM
) $(DATADIR
)/charmaps
/$$file; \
184 for file in
$(CHARSETS
); do \
185 $(RM
) $(DATADIR
)/charsets
/$$file; \
187 for file in
$(DATAFILES
); do \
188 $(RM
) $(DATADIR
)/data
/$$file; \
190 for file in
$(PPDCFILES
); do \
191 $(RM
) $(DATADIR
)/ppdc
/$$file; \
193 -$(RMDIR
) $(DATADIR
)/profiles
194 -$(RMDIR
) $(DATADIR
)/ppdc
195 -$(RMDIR
) $(DATADIR
)/model
196 -$(RMDIR
) $(DATADIR
)/data
197 -$(RMDIR
) $(DATADIR
)/charsets
198 -$(RMDIR
) $(DATADIR
)/charmaps
199 -$(RMDIR
) $(DATADIR
)/banners
204 # End of "$Id: Makefile 7014 2007-10-10 21:57:43Z mike $".