2 # Datafile makefile for CUPS.
4 # Copyright 2007-2014 by Apple Inc.
5 # Copyright 1993-2006 by Easy Software Products.
7 # These coded instructions, statements, and computer programs are the
8 # property of Apple Inc. and are protected by Federal copyright
9 # law. Distribution and use rights are outlined in the file "LICENSE.txt"
10 # which should have been included with this file. If this file is
11 # missing or damaged, see the license at "http://www.cups.org/".
37 # Make library targets...
51 # Clean all config and object files...
65 # Install all targets...
68 install: all install-data install-headers install-libs install-exec
72 # Install data files...
76 $(INSTALL_DIR
) -m
755 $(DATADIR
)/banners
77 $(INSTALL_DIR
) -m
755 $(DATADIR
)/data
78 $(INSTALL_DIR
) -m
755 $(DATADIR
)/model
79 $(INSTALL_DIR
) -m
755 $(DATADIR
)/ppdc
80 for file in
$(PPDCFILES
); do \
81 $(INSTALL_DATA
) $$file $(DATADIR
)/ppdc
; \
83 $(INSTALL_DIR
) -m
755 $(DATADIR
)/profiles
101 # Install libraries...
112 for file in
$(PPDCFILES
); do \
113 $(RM
) $(DATADIR
)/ppdc
/$$file; \
115 -$(RMDIR
) $(DATADIR
)/profiles
116 -$(RMDIR
) $(DATADIR
)/ppdc
117 -$(RMDIR
) $(DATADIR
)/model
118 -$(RMDIR
) $(DATADIR
)/data
119 -$(RMDIR
) $(DATADIR
)/banners