]> git.ipfire.org Git - thirdparty/fcron.git/commitdiff
bug fix
authorThibault Godouet <yo8192@users.noreply.github.com>
Tue, 16 May 2000 19:59:26 +0000 (19:59 +0000)
committerThibault Godouet <yo8192@users.noreply.github.com>
Tue, 16 May 2000 19:59:26 +0000 (19:59 +0000)
Makefile.in
script/gen-doc

index 3d7dfd303d7a0cc68c42246506f8fbb92e75d39b..f30719ce68f79a27263a1e032f869bcb7438b5e4 100644 (file)
@@ -2,7 +2,7 @@
 # fcron's Makefile  ########
 ############################
 
-# $Id: Makefile.in,v 1.4 2000-05-16 19:53:59 thib Exp $
+# $Id: Makefile.in,v 1.5 2000-05-16 19:59:26 thib Exp $
 
 # ********************************************************* #
 # *** Begin of configurable stuffs ************************ #
@@ -114,13 +114,9 @@ uninstall:
        script/sysVinit-uninstall
 
 clean:
-       @echo -e "\ncleaning up ...\n"
-
        rm -f *.o
        rm -f fcron fcrontab
 
-       @echo -e "\n...done\n"
-
 vclean: clean
        find ./ -name "*~" -exec rm -f {} \;
 
@@ -130,14 +126,13 @@ vclean: clean
            <h1>$(*F)</h1><br>:I" < ./tmp > $@
        rm -f ./tmp
 
-updatedoc: doc/*.html
+updatedoc:
+       $(MAKE) doc/*.html
        script/gen-doc $(VERSION)
 
 
 tar: vclean updatedoc
 
-       @echo -e "\ncreating archive ...\n"
-
        echo $(VERSION) > ./VERSION
 
        @(find ./ -type f ! -regex '.*RCS.*' ! -regex "$(RCSNOLOG)" \
@@ -151,8 +146,6 @@ tar: vclean updatedoc
 
        @(cd ..; mv -f fcron-$(VERSION).src.tar.gz old-fcron-pkg/)
 
-       @echo -e "\n...done\n"
-
 
 
 
index d985e3d6aad9330874723ef9d1c69491994041b2..dae2c95ac3e0a2594ede68e20e44b20268684314 100755 (executable)
@@ -1,10 +1,6 @@
 #!/bin/sh
 
-# $Id: gen-doc,v 1.4 2000-05-16 19:51:41 thib Exp $
-
-if test $UID -eq 0; then
-  su $USER
-fi
+# $Id: gen-doc,v 1.5 2000-05-16 20:03:13 thib Exp $
 
 PREVIOUS=`cat ./VERSION`
 
@@ -17,6 +13,7 @@ if test $PREVIOUS != $1; then
        echo $i
        sed -e "s:fcron version .* :fcron version $1 :" < $i > tmp
        mv -f tmp $i
+       chown $USER $i
        rm -f tmp
     fi
     done