2 # Datafile makefile for CUPS.
4 # Copyright 2007-2014 by Apple Inc.
5 # Copyright 1993-2006 by Easy Software Products.
7 # Licensed under Apache License v2.0. See the file "LICENSE" for more information.
33 # Make library targets...
47 # Clean all config and object files...
61 # Install all targets...
64 install: all install-data install-headers install-libs install-exec
68 # Install data files...
72 $(INSTALL_DIR
) -m
755 $(DATADIR
)/banners
73 $(INSTALL_DIR
) -m
755 $(DATADIR
)/data
74 $(INSTALL_DIR
) -m
755 $(DATADIR
)/model
75 $(INSTALL_DIR
) -m
755 $(DATADIR
)/ppdc
76 for file in
$(PPDCFILES
); do \
77 $(INSTALL_DATA
) $$file $(DATADIR
)/ppdc
; \
79 $(INSTALL_DIR
) -m
755 $(DATADIR
)/profiles
97 # Install libraries...
108 for file in
$(PPDCFILES
); do \
109 $(RM
) $(DATADIR
)/ppdc
/$$file; \
111 -$(RMDIR
) $(DATADIR
)/profiles
112 -$(RMDIR
) $(DATADIR
)/ppdc
113 -$(RMDIR
) $(DATADIR
)/model
114 -$(RMDIR
) $(DATADIR
)/data
115 -$(RMDIR
) $(DATADIR
)/banners