#
-# "$Id: Makefile 4950 2006-01-19 16:07:57Z mike $"
+# "$Id: Makefile 5877 2006-08-24 15:54:12Z mike $"
#
# Template makefile for the Common UNIX Printing System (CUPS).
#
-# Copyright 1993-2005 by Easy Software Products.
+# Copyright 1993-2006 by Easy Software Products.
#
# These coded instructions, statements, and computer programs are the
# property of Easy Software Products and are protected by Federal
error-op.tmpl \
header.tmpl \
help-header.tmpl \
+ help-printable.tmpl \
job-cancel.tmpl \
job-hold.tmpl \
job-move.tmpl \
job-restart.tmpl \
jobs.tmpl \
jobs-header.tmpl \
+ maintenance.tmpl \
modify-class.tmpl \
modify-printer.tmpl \
+ norestart.tmpl \
option-boolean.tmpl \
option-conflict.tmpl \
option-header.tmpl \
printers.tmpl \
printers-header.tmpl \
restart.tmpl \
+ samba-export.tmpl \
+ samba-exported.tmpl \
search.tmpl \
set-printer-options-header.tmpl \
set-printer-options-trailer.tmpl \
clean:
+#
+# Dummy depend...
+#
+
+depend:
+
+
#
# Install files...
#
-install: all
- $(INSTALL_DIR) $(DATADIR)/templates
+install: all $(INSTALL_LANGUAGES)
+ $(INSTALL_DIR) -m 755 $(DATADIR)/templates
for file in $(FILES); do \
$(INSTALL_DATA) $$file $(DATADIR)/templates; \
done
+install-languages:
+ for lang in $(LANGUAGES); do \
+ $(INSTALL_DIR) -m 755 $(DATADIR)/templates/$$lang; \
+ for file in $(FILES); do \
+ if test -f $$lang/$$file; then \
+ $(INSTALL_DATA) $$lang/$$file $(DATADIR)/templates/$$lang; \
+ fi \
+ done \
+ done
+
+
+#
+# Uninstall files...
+#
+
+uninstall: $(UNINSTALL_LANGUAGES)
+ for file in $(FILES); do \
+ $(RM) $(DATADIR)/templates/$$file; \
+ done
+ -$(RMDIR) $(DATADIR)/templates
+
+uninstall-languages:
+ for lang in $(LANGUAGES); do \
+ for file in $(FILES); do \
+ $(RM) $(DATADIR)/templates/$$lang/$$file; \
+ done \
+ $(RMDIR) $(DATADIR)/templates/$$lang; \
+ done
+
#
-# End of "$Id: Makefile 4950 2006-01-19 16:07:57Z mike $".
+# End of "$Id: Makefile 5877 2006-08-24 15:54:12Z mike $".
#