2 # "$Id: Makefile 7871 2008-08-27 21:12:43Z mike $"
4 # Datafile makefile for the Common UNIX Printing System (CUPS).
6 # Copyright 2007-2010 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/".
56 # Make library targets...
70 # Clean all config and object files...
84 # Install all targets...
87 install: all install-data install-headers install-libs install-exec
91 # Install data files...
95 $(INSTALL_DIR
) -m
755 $(DATADIR
)/banners
96 for file in
$(BANNERS
); do \
97 $(INSTALL_DATA
) $$file $(DATADIR
)/banners
; \
99 $(INSTALL_DIR
) -m
755 $(DATADIR
)/charsets
100 if
test "x$(BANNERTOPS)" != x
-o
"x$(TEXTTOPS)" != x
; then \
101 for file in
$(CHARSETS
); do \
102 $(INSTALL_DATA
) $$file $(DATADIR
)/charsets
; \
105 $(INSTALL_DIR
) -m
755 $(DATADIR
)/data
106 for file in
$(DATAFILES
); do \
107 $(INSTALL_DATA
) $$file $(DATADIR
)/data
; \
109 $(INSTALL_DIR
) -m
755 $(DATADIR
)/model
110 $(INSTALL_DIR
) -m
755 $(DATADIR
)/ppdc
111 for file in
$(PPDCFILES
); do \
112 $(INSTALL_DATA
) $$file $(DATADIR
)/ppdc
; \
114 $(INSTALL_DIR
) -m
755 $(DATADIR
)/profiles
118 # Install programs...
132 # Install libraries...
143 for file in
$(BANNERS
); do \
144 $(RM
) $(DATADIR
)/banners
/$$file; \
146 for file in
$(CHARSETS
); do \
147 $(RM
) $(DATADIR
)/charsets
/$$file; \
149 for file in
$(DATAFILES
); do \
150 $(RM
) $(DATADIR
)/data
/$$file; \
152 for file in
$(PPDCFILES
); do \
153 $(RM
) $(DATADIR
)/ppdc
/$$file; \
155 -$(RMDIR
) $(DATADIR
)/profiles
156 -$(RMDIR
) $(DATADIR
)/ppdc
157 -$(RMDIR
) $(DATADIR
)/model
158 -$(RMDIR
) $(DATADIR
)/data
159 -$(RMDIR
) $(DATADIR
)/charsets
160 -$(RMDIR
) $(DATADIR
)/banners
165 # End of "$Id: Makefile 7871 2008-08-27 21:12:43Z mike $".