# 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 ************************ #
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 {} \;
<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)" \
@(cd ..; mv -f fcron-$(VERSION).src.tar.gz old-fcron-pkg/)
- @echo -e "\n...done\n"
-
#!/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`
echo $i
sed -e "s:fcron version .* :fcron version $1 :" < $i > tmp
mv -f tmp $i
+ chown $USER $i
rm -f tmp
fi
done