4 # Datafile makefile for CUPS.
6 # Copyright 2007-2014 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/".
39 # Make library targets...
53 # Clean all config and object files...
67 # Install all targets...
70 install: all install-data install-headers install-libs install-exec
74 # Install data files...
78 $(INSTALL_DIR
) -m
755 $(DATADIR
)/banners
79 $(INSTALL_DIR
) -m
755 $(DATADIR
)/data
80 $(INSTALL_DIR
) -m
755 $(DATADIR
)/model
81 $(INSTALL_DIR
) -m
755 $(DATADIR
)/ppdc
82 for file in
$(PPDCFILES
); do \
83 $(INSTALL_DATA
) $$file $(DATADIR
)/ppdc
; \
85 $(INSTALL_DIR
) -m
755 $(DATADIR
)/profiles
103 # Install libraries...
114 for file in
$(PPDCFILES
); do \
115 $(RM
) $(DATADIR
)/ppdc
/$$file; \
117 -$(RMDIR
) $(DATADIR
)/profiles
118 -$(RMDIR
) $(DATADIR
)/ppdc
119 -$(RMDIR
) $(DATADIR
)/model
120 -$(RMDIR
) $(DATADIR
)/data
121 -$(RMDIR
) $(DATADIR
)/banners