]> git.ipfire.org Git - thirdparty/fcron.git/commitdiff
fcron.deny and fcron.allow now owned by root (used to be fcron)
authorThibault Godouet <yo8192@users.noreply.github.com>
Sun, 7 Jan 2001 12:46:56 +0000 (12:46 +0000)
committerThibault Godouet <yo8192@users.noreply.github.com>
Sun, 7 Jan 2001 12:46:56 +0000 (12:46 +0000)
added ./configure's option --with-answer-all

Makefile.in

index 7ca5a596878af1da358caf075f29d5b2bd0ee7f2..b53f72dc7cb32e2b7173add24553fe707a04acdf 100644 (file)
@@ -4,7 +4,7 @@
 
 # @configure_input@
 
-# $Id: Makefile.in,v 1.52 2001-01-04 15:52:38 thib Exp $
+# $Id: Makefile.in,v 1.53 2001-01-07 12:46:56 thib Exp $
 
 # The following should not be edited manually (use configure options)
 # If you must do it, BEWARE : some of the following is also defined
@@ -33,6 +33,7 @@ ROOTGROUP     = @ROOTGROUP@
 USERNAME       = @USERNAME@
 GROUPNAME      = @GROUPNAME@
 DEBUG          = @DEBUG@
+ANSWERALL      = @ANSWERALL@
 
 # Optimize or debug ?
 #      -DDEBUG         even more verbose
@@ -88,7 +89,7 @@ allow.o:  allow.c $(HEADERS)
 
 install: all
 
-       script/user-group $(USERNAME) $(GROUPNAME)
+       script/user-group $(USERNAME) $(GROUPNAME) $(ANSWERALL)
 
        $(INSTALL) -g $(ROOTGROUP) -o $(ROOTNAME) -m 755 -d $(DESTSBIN)
        $(INSTALL) -g $(ROOTGROUP) -o $(ROOTNAME) -m 755 -d $(DESTBIN)
@@ -112,14 +113,14 @@ install: all
 
 # in order to get correct rights when upgrading :
        find $(FCRONTABS) -type f -name "*.orig" -exec chown $(USERNAME):$(GROUPNAME) {} \; -exec chmod 640 {} \;
-       if test -f $(ETC)/fcron.deny; then chown $(USERNAME):$(GROUPNAME) $(ETC)/fcron.deny ; fi
-       if test -f $(ETC)/fcron.allow; then chown $(USERNAME):$(GROUPNAME) $(ETC)/fcron.allow ; fi
+       if test -f $(ETC)/fcron.deny; then chown $(ROOTNAME):$(GROUPNAME) $(ETC)/fcron.deny ; fi
+       if test -f $(ETC)/fcron.allow; then chown $(ROOTNAME):$(GROUPNAME) $(ETC)/fcron.allow ; fi
 
-       script/sysVinit-install "$(INSTALL) -o $(ROOTNAME)" $(DESTSBIN) $(DEBUG) $(FCRONTABS)
+       script/sysVinit-install "$(INSTALL) -o $(ROOTNAME)" $(DESTSBIN) $(DEBUG) $(FCRONTABS)  $(ANSWERALL)
 
 install-boot: install
        if test "$(DEBUG)" = "1"; then \
-         script/sysVinit-install "$(INSTALL)" $(DESTSBIN) 0 $(FCRONTABS) ;\
+         script/sysVinit-install "$(INSTALL) -o $(ROOTNAME)" $(DESTSBIN) 0 $(FCRONTABS)  $(ANSWERALL);\
        fi
 
 install-restart: install