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 # Clean all config and object files...
110 # Install all targets...
113 install: all install-data install-headers install-libs install-exec
117 # Install data files...
121 $(INSTALL_DIR
) -m
755 $(DATADIR
)/banners
122 for file in
$(BANNERS
); do \
123 $(INSTALL_DATA
) $$file $(DATADIR
)/banners
; \
125 $(INSTALL_DIR
) -m
755 $(DATADIR
)/charmaps
126 for file in
$(CHARMAPS
); do \
127 $(INSTALL_DATA
) $$file $(DATADIR
)/charmaps
; \
129 $(INSTALL_DIR
) -m
755 $(DATADIR
)/charsets
130 for file in
$(CHARSETS
); do \
131 $(INSTALL_DATA
) $$file $(DATADIR
)/charsets
; \
133 $(INSTALL_DIR
) -m
755 $(DATADIR
)/data
134 for file in
$(DATAFILES
); do \
135 $(INSTALL_DATA
) $$file $(DATADIR
)/data
; \
137 $(INSTALL_DIR
) -m
755 $(DATADIR
)/model
138 $(INSTALL_DIR
) -m
755 $(DATADIR
)/ppdc
139 for file in
$(PPDCFILES
); do \
140 $(INSTALL_DATA
) $$file $(DATADIR
)/ppdc
; \
142 $(INSTALL_DIR
) -m
755 $(DATADIR
)/profiles
146 # Install programs...
160 # Install libraries...
171 for file in
$(BANNERS
); do \
172 $(RM
) $(DATADIR
)/banners
/$$file; \
174 for file in
$(CHARMAPS
); do \
175 $(RM
) $(DATADIR
)/charmaps
/$$file; \
177 for file in
$(CHARSETS
); do \
178 $(RM
) $(DATADIR
)/charsets
/$$file; \
180 for file in
$(DATAFILES
); do \
181 $(RM
) $(DATADIR
)/data
/$$file; \
183 for file in
$(PPDCFILES
); do \
184 $(RM
) $(DATADIR
)/ppdc
/$$file; \
186 -$(RMDIR
) $(DATADIR
)/profiles
187 -$(RMDIR
) $(DATADIR
)/ppdc
188 -$(RMDIR
) $(DATADIR
)/model
189 -$(RMDIR
) $(DATADIR
)/data
190 -$(RMDIR
) $(DATADIR
)/charsets
191 -$(RMDIR
) $(DATADIR
)/charmaps
192 -$(RMDIR
) $(DATADIR
)/banners
197 # End of "$Id: Makefile 7014 2007-10-10 21:57:43Z mike $".