2 # "$Id: Makefile 10996 2013-05-29 11:51:34Z msweet $"
4 # Datafile makefile for CUPS.
6 # Copyright 2007-2011 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/".
50 # Make library targets...
64 # Clean all config and object files...
78 # Install all targets...
81 install: all install-data install-headers install-libs install-exec
85 # Install data files...
89 $(INSTALL_DIR
) -m
755 $(DATADIR
)/banners
90 for file in
$(BANNERS
); do \
91 $(INSTALL_DATA
) $$file $(DATADIR
)/banners
; \
93 $(INSTALL_DIR
) -m
755 $(DATADIR
)/data
94 for file in
$(DATAFILES
); do \
95 $(INSTALL_DATA
) $$file $(DATADIR
)/data
; \
97 $(INSTALL_DIR
) -m
755 $(DATADIR
)/model
98 $(INSTALL_DIR
) -m
755 $(DATADIR
)/ppdc
99 for file in
$(PPDCFILES
); do \
100 $(INSTALL_DATA
) $$file $(DATADIR
)/ppdc
; \
102 $(INSTALL_DIR
) -m
755 $(DATADIR
)/profiles
106 # Install programs...
120 # Install libraries...
131 for file in
$(BANNERS
); do \
132 $(RM
) $(DATADIR
)/banners
/$$file; \
134 for file in
$(DATAFILES
); do \
135 $(RM
) $(DATADIR
)/data
/$$file; \
137 for file in
$(PPDCFILES
); do \
138 $(RM
) $(DATADIR
)/ppdc
/$$file; \
140 -$(RMDIR
) $(DATADIR
)/profiles
141 -$(RMDIR
) $(DATADIR
)/ppdc
142 -$(RMDIR
) $(DATADIR
)/model
143 -$(RMDIR
) $(DATADIR
)/data
144 -$(RMDIR
) $(DATADIR
)/banners
149 # End of "$Id: Makefile 10996 2013-05-29 11:51:34Z msweet $".