]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - templates/Makefile
Merge changes from CUPS 1.4svn-r7874.
[thirdparty/cups.git] / templates / Makefile
index b4fcc3735d200bb75d5057b01da1efd6261f19af..34712e5b43752b795dbc348ad98d288cd0d75c57 100644 (file)
@@ -1,9 +1,9 @@
 #
-# "$Id: Makefile 6649 2007-07-11 21:46:42Z mike $"
+# "$Id: Makefile 7558 2008-05-12 23:46:44Z mike $"
 #
 #   Template makefile for the Common UNIX Printing System (CUPS).
 #
-#   Copyright 2007 by Apple Inc.
+#   Copyright 2007-2008 by Apple Inc.
 #   Copyright 1993-2007 by Easy Software Products.
 #
 #   These coded instructions, statements, and computer programs are the
@@ -96,6 +96,20 @@ FILES        =       \
 all:
 
 
+#
+# Make library targets...
+#
+
+libs:
+
+
+#
+# Make unit tests...
+#
+
+unittests:
+
+
 #
 # Clean all config and object files...
 #
@@ -111,10 +125,17 @@ depend:
 
 
 #
-# Install files...
+# Install all targets...
+#
+
+install:       all install-data install-headers install-libs install-exec
+
+
+#
+# Install data files...
 #
 
-install: all $(INSTALL_LANGUAGES)
+install-data: $(INSTALL_LANGUAGES)
        $(INSTALL_DIR) -m 755 $(DATADIR)/templates
        for file in $(FILES); do \
                $(INSTALL_DATA) $$file $(DATADIR)/templates; \
@@ -122,15 +143,37 @@ install: all $(INSTALL_LANGUAGES)
 
 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 \
+               if test -d $$lang; then \
+                       $(INSTALL_DIR) -m 755 $(DATADIR)/templates/$$lang; \
+                       for file in $(FILES); do \
+                               $(INSTALL_DATA) $$lang/$$file $(DATADIR)/templates/$$lang 2>/dev/null || true; \
+                       done \
+               fi \
        done
 
 
+
+#
+# Install programs...
+#
+
+install-exec:
+
+
+#
+# Install headers...
+#
+
+install-headers:
+
+
+#
+# Install libraries...
+#
+
+install-libs:
+
+
 #
 # Uninstall files...
 #
@@ -151,5 +194,5 @@ uninstall-languages:
 
 
 #
-# End of "$Id: Makefile 6649 2007-07-11 21:46:42Z mike $".
+# End of "$Id: Makefile 7558 2008-05-12 23:46:44Z mike $".
 #