2 # Template makefile for CUPS.
4 # Copyright 2007-2014 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 # file is missing or damaged, see the license at "http://www.cups.org/".
23 add-rss-subscription.tmpl \
34 class-jobs-header.tmpl \
54 list-available-printers.tmpl \
59 option-conflict.tmpl \
61 option-pickmany.tmpl \
68 printer-cancel-jobs.tmpl \
69 printer-configured.tmpl \
70 printer-confirm.tmpl \
71 printer-default.tmpl \
72 printer-deleted.tmpl \
73 printer-jobs-header.tmpl \
74 printer-modified.tmpl \
79 printers-header.tmpl \
84 set-printer-options-header.tmpl \
85 set-printer-options-trailer.tmpl \
86 subscription-added.tmpl \
87 subscription-canceled.tmpl \
101 # Make library targets...
115 # Clean all config and object files...
129 # Install all targets...
132 install: all install-data install-headers install-libs install-exec
136 # Install data files...
139 install-data
: $(INSTALL_LANGUAGES
)
140 $(INSTALL_DIR
) -m
755 $(DATADIR
)/templates
141 for file in
$(FILES
); do \
142 $(INSTALL_DATA
) $$file $(DATADIR
)/templates
; \
146 for lang in
$(LANGUAGES
); do \
147 if
test -d
$$lang; then \
148 $(INSTALL_DIR
) -m
755 $(DATADIR
)/templates
/$$lang; \
149 for file in
$(FILES
); do \
150 $(INSTALL_DATA
) $$lang/$$file $(DATADIR
)/templates
/$$lang >/dev
/null
2>&1 || true
; \
159 # Install programs...
173 # Install libraries...
183 uninstall: $(UNINSTALL_LANGUAGES
)
184 for file in
$(FILES
); do \
185 $(RM
) $(DATADIR
)/templates
/$$file; \
187 -$(RMDIR
) $(DATADIR
)/templates
190 for lang in
$(LANGUAGES
); do \
191 for file in
$(FILES
); do \
192 $(RM
) $(DATADIR
)/templates
/$$lang/$$file; \
194 $(RMDIR
) $(DATADIR
)/templates
/$$lang; \
197 uninstall-langbundle
: