]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - templates/Makefile
Load cups into easysw/current.
[thirdparty/cups.git] / templates / Makefile
index 31f7d7dce1f891cce76f688d21432c2079fa48aa..908e622b3ca9fed50bb424258c9b448268ca5584 100644 (file)
@@ -1,9 +1,9 @@
 #
-# "$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
@@ -49,6 +49,7 @@ FILES =       \
                error-op.tmpl \
                header.tmpl \
                help-header.tmpl \
+               help-printable.tmpl \
                job-cancel.tmpl \
                job-hold.tmpl \
                job-move.tmpl \
@@ -57,8 +58,10 @@ FILES        =       \
                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 \
@@ -81,6 +84,8 @@ FILES =       \
                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 \
@@ -103,17 +108,53 @@ all:
 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 $".
 #