]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - conf/Makefile
Update svn:keyword properties.
[thirdparty/cups.git] / conf / Makefile
index 8d4ffbf2f273910eb54ccd25771ab16158608621..97df33f04769d905c0802300fee1c01f4dbdacf7 100644 (file)
@@ -1,9 +1,9 @@
 #
-# "$Id: Makefile 7670 2008-06-17 22:42:08Z mike $"
+# "$Id$"
 #
-#   Configuration file makefile for the Common UNIX Printing System (CUPS).
+#   Configuration file makefile for CUPS.
 #
-#   Copyright 2007-2008 by Apple Inc.
+#   Copyright 2007-2012 by Apple Inc.
 #   Copyright 1993-2006 by Easy Software Products.
 #
 #   These coded instructions, statements, and computer programs are the
@@ -19,7 +19,7 @@ include ../Makedefs
 # Config files...
 #
 
-KEEP   =       cupsd.conf snmp.conf
+KEEP   =       cups-files.conf cupsd.conf snmp.conf
 REPLACE        =       mime.convs mime.types
 
 
@@ -37,6 +37,13 @@ all:
 libs:
 
 
+#
+# Make unit tests...
+#
+
+unittests:
+
+
 #
 # Clean all config and object files...
 #
@@ -63,18 +70,14 @@ install:    all install-data install-headers install-libs install-exec
 #
 
 install-data:
-       $(INSTALL_DIR) -m 755 $(SERVERROOT)
        for file in $(KEEP); do \
                if test -r $(SERVERROOT)/$$file ; then \
-                       $(INSTALL_CONFIG) $$file $(SERVERROOT)/$$file.N ; \
-                       chgrp $(CUPS_GROUP) $(SERVERROOT)/$$file.N || true; \
+                       $(INSTALL_CONFIG) -g $(CUPS_GROUP) $$file $(SERVERROOT)/$$file.N ; \
                else \
-                       $(INSTALL_CONFIG) $$file $(SERVERROOT) ; \
-                       chgrp $(CUPS_GROUP) $(SERVERROOT)/$$file || true; \
+                       $(INSTALL_CONFIG) -g $(CUPS_GROUP) $$file $(SERVERROOT) ; \
                fi ; \
        done
-       $(INSTALL_CONFIG) cupsd.conf $(SERVERROOT)/cupsd.conf.default
-       -chgrp $(CUPS_GROUP) $(SERVERROOT)/cupsd.conf.default
+       $(INSTALL_CONFIG) -g $(CUPS_GROUP) cupsd.conf $(SERVERROOT)/cupsd.conf.default
        $(INSTALL_DIR) -m 755 $(DATADIR)/mime
        for file in $(REPLACE); do \
                if test -r $(DATADIR)/mime/$$file ; then \
@@ -87,7 +90,7 @@ install-data:
        done
        -if test x$(PAMDIR) != x; then \
                $(INSTALL_DIR) -m 755 $(BUILDROOT)$(PAMDIR); \
-               if test -r $(BUILDROOT)$(PAMDIR)/cups/$(PAMFILE) ; then \
+               if test -r $(BUILDROOT)$(PAMDIR)/cups ; then \
                        $(INSTALL_DATA) $(PAMFILE) $(BUILDROOT)$(PAMDIR)/cups.N ; \
                else \
                        $(INSTALL_DATA) $(PAMFILE) $(BUILDROOT)$(PAMDIR)/cups ; \
@@ -136,5 +139,5 @@ uninstall:
 
 
 #
-# End of "$Id: Makefile 7670 2008-06-17 22:42:08Z mike $".
+# End of "$Id$".
 #