2 # "$Id: Makefile 6649 2007-07-11 21:46:42Z mike $"
4 # Template makefile for the Common UNIX Printing System (CUPS).
6 # Copyright 2007-2008 by Apple Inc.
7 # Copyright 1993-2007 by Easy Software Products.
9 # These coded instructions, statements, and computer programs are the
10 # property of Apple Inc. and are protected by Federal copyright
11 # law. Distribution and use rights are outlined in the file "LICENSE.txt"
12 # which should have been included with this file. If this file is
13 # file is missing or damaged, see the license at "http://www.cups.org/".
25 add-rss-subscription.tmpl \
35 class-jobs-header.tmpl \
53 list-available-printers.tmpl \
59 option-conflict.tmpl \
61 option-pickmany.tmpl \
67 printer-configured.tmpl \
68 printer-confirm.tmpl \
69 printer-default.tmpl \
70 printer-deleted.tmpl \
71 printer-jobs-header.tmpl \
72 printer-modified.tmpl \
78 printers-header.tmpl \
83 set-printer-options-header.tmpl \
84 set-printer-options-trailer.tmpl \
85 subscription-added.tmpl \
86 subscription-canceled.tmpl \
100 # Clean all config and object files...
114 # Install all targets...
117 install: all install-data install-headers install-libs install-exec
121 # Install data files...
124 install-data
: $(INSTALL_LANGUAGES
)
125 $(INSTALL_DIR
) -m
755 $(DATADIR
)/templates
126 for file in
$(FILES
); do \
127 $(INSTALL_DATA
) $$file $(DATADIR
)/templates
; \
131 for lang in
$(LANGUAGES
); do \
132 if
test -d
$$lang; then \
133 $(INSTALL_DIR
) -m
755 $(DATADIR
)/templates
/$$lang; \
134 for file in
$(FILES
); do \
135 $(INSTALL_DATA
) $$lang/$$file $(DATADIR
)/templates
/$$lang 2>/dev
/null || true
; \
143 # Install programs...
157 # Install libraries...
167 uninstall: $(UNINSTALL_LANGUAGES
)
168 for file in
$(FILES
); do \
169 $(RM
) $(DATADIR
)/templates
/$$file; \
171 -$(RMDIR
) $(DATADIR
)/templates
174 for lang in
$(LANGUAGES
); do \
175 for file in
$(FILES
); do \
176 $(RM
) $(DATADIR
)/templates
/$$lang/$$file; \
178 $(RMDIR
) $(DATADIR
)/templates
/$$lang; \
183 # End of "$Id: Makefile 6649 2007-07-11 21:46:42Z mike $".