2 # Template makefile for CUPS.
4 # Copyright 2007-2017 by Apple Inc.
5 # Copyright 1993-2007 by Easy Software Products.
7 # Licensed under Apache License v2.0. See the file "LICENSE" for more information.
29 class-jobs-header.tmpl \
49 list-available-printers.tmpl \
54 option-conflict.tmpl \
56 option-pickmany.tmpl \
63 printer-cancel-jobs.tmpl \
64 printer-configured.tmpl \
65 printer-confirm.tmpl \
66 printer-default.tmpl \
67 printer-deleted.tmpl \
68 printer-jobs-header.tmpl \
69 printer-modified.tmpl \
74 printers-header.tmpl \
79 set-printer-options-header.tmpl \
80 set-printer-options-trailer.tmpl \
94 # Make library targets...
108 # Clean all config and object files...
122 # Install all targets...
125 install: all install-data install-headers install-libs install-exec
129 # Install data files...
132 install-data
: $(INSTALL_LANGUAGES
)
133 $(INSTALL_DIR
) -m
755 $(DATADIR
)/templates
134 for file in
$(FILES
); do \
135 $(INSTALL_DATA
) $$file $(DATADIR
)/templates
; \
139 for lang in
$(LANGUAGES
); do \
140 if
test -d
$$lang; then \
141 $(INSTALL_DIR
) -m
755 $(DATADIR
)/templates
/$$lang; \
142 for file in
$(FILES
); do \
143 $(INSTALL_DATA
) $$lang/$$file $(DATADIR
)/templates
/$$lang >/dev
/null
2>&1 || true
; \
152 # Install programs...
166 # Install libraries...
176 uninstall: $(UNINSTALL_LANGUAGES
)
177 for file in
$(FILES
); do \
178 $(RM
) $(DATADIR
)/templates
/$$file; \
180 -$(RMDIR
) $(DATADIR
)/templates
183 for lang in
$(LANGUAGES
); do \
184 for file in
$(FILES
); do \
185 $(RM
) $(DATADIR
)/templates
/$$lang/$$file; \
187 $(RMDIR
) $(DATADIR
)/templates
/$$lang; \
190 uninstall-langbundle
: