2 # Template makefile for CUPS.
4 # Copyright 2007-2017 by Apple Inc.
5 # Copyright 1993-2007 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/".
33 class-jobs-header.tmpl \
53 list-available-printers.tmpl \
58 option-conflict.tmpl \
60 option-pickmany.tmpl \
67 printer-cancel-jobs.tmpl \
68 printer-configured.tmpl \
69 printer-confirm.tmpl \
70 printer-default.tmpl \
71 printer-deleted.tmpl \
72 printer-jobs-header.tmpl \
73 printer-modified.tmpl \
78 printers-header.tmpl \
83 set-printer-options-header.tmpl \
84 set-printer-options-trailer.tmpl \
98 # Make library targets...
112 # Clean all config and object files...
126 # Install all targets...
129 install: all install-data install-headers install-libs install-exec
133 # Install data files...
136 install-data
: $(INSTALL_LANGUAGES
)
137 $(INSTALL_DIR
) -m
755 $(DATADIR
)/templates
138 for file in
$(FILES
); do \
139 $(INSTALL_DATA
) $$file $(DATADIR
)/templates
; \
143 for lang in
$(LANGUAGES
); do \
144 if
test -d
$$lang; then \
145 $(INSTALL_DIR
) -m
755 $(DATADIR
)/templates
/$$lang; \
146 for file in
$(FILES
); do \
147 $(INSTALL_DATA
) $$lang/$$file $(DATADIR
)/templates
/$$lang >/dev
/null
2>&1 || true
; \
156 # Install programs...
170 # Install libraries...
180 uninstall: $(UNINSTALL_LANGUAGES
)
181 for file in
$(FILES
); do \
182 $(RM
) $(DATADIR
)/templates
/$$file; \
184 -$(RMDIR
) $(DATADIR
)/templates
187 for lang in
$(LANGUAGES
); do \
188 for file in
$(FILES
); do \
189 $(RM
) $(DATADIR
)/templates
/$$lang/$$file; \
191 $(RMDIR
) $(DATADIR
)/templates
/$$lang; \
194 uninstall-langbundle
: