2 # "$Id: Makefile 9771 2011-05-12 05:21:56Z mike $"
4 # Template makefile for CUPS.
6 # Copyright 2007-2011 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 \
36 class-jobs-header.tmpl \
56 list-available-printers.tmpl \
61 option-conflict.tmpl \
63 option-pickmany.tmpl \
70 printer-configured.tmpl \
71 printer-confirm.tmpl \
72 printer-default.tmpl \
73 printer-deleted.tmpl \
74 printer-jobs-header.tmpl \
75 printer-modified.tmpl \
81 printers-header.tmpl \
86 set-printer-options-header.tmpl \
87 set-printer-options-trailer.tmpl \
88 subscription-added.tmpl \
89 subscription-canceled.tmpl \
103 # Make library targets...
117 # Clean all config and object files...
131 # Install all targets...
134 install: all install-data install-headers install-libs install-exec
138 # Install data files...
141 install-data: $(INSTALL_LANGUAGES)
142 $(INSTALL_DIR) -m 755 $(DATADIR)/templates
143 for file in $(FILES); do \
144 $(INSTALL_DATA) $$file $(DATADIR)/templates; \
148 for lang in $(LANGUAGES); do \
149 if test -d $$lang; then \
150 $(INSTALL_DIR) -m 755 $(DATADIR)/templates/$$lang; \
151 for file in $(FILES); do \
152 $(INSTALL_DATA) $$lang/$$file $(DATADIR)/templates/$$lang >/dev/null 2>&1 || true; \
161 # Install programs...
175 # Install libraries...
185 uninstall: $(UNINSTALL_LANGUAGES)
186 for file in $(FILES); do \
187 $(RM) $(DATADIR)/templates/$$file; \
189 -$(RMDIR) $(DATADIR)/templates
192 for lang in $(LANGUAGES); do \
193 for file in $(FILES); do \
194 $(RM) $(DATADIR)/templates/$$lang/$$file; \
196 $(RMDIR) $(DATADIR)/templates/$$lang; \
199 uninstall-langbundle:
203 # End of "$Id: Makefile 9771 2011-05-12 05:21:56Z mike $".