[Frugalware-darcs] pacman-tools: genchangelog: generate pkgname.html from README.Frugalware

VMiklos vmiklos at frugalware.org
Wed Jun 13 00:07:16 CEST 2007


Darcsweb-Url: http://darcs.frugalware.org/darcsweb/darcsweb.cgi?r=pacman-tools;a=darcs_commitdiff;h=20070612220645-e2957-a770da871917b066295f2c92a762cb5a14a65b85.gz;

[genchangelog: generate pkgname.html from README.Frugalware
VMiklos <vmiklos at frugalware.org>**20070612220645] {
hunk ./genchangelog 34
-CWD=`pwd`
-
hunk ./genchangelog 36
+if [ -e README.Frugalware ]; then
+	if [ ! -e $pkgname.html ] || [ `stat -c %Y $pkgname.html` -lt `stat -c %Y README.Frugalware` ]; then
+		echo -n "updating $pkgname.html... "
+		mkpkghtml
+		echo "done."
+	fi
+fi
+
+CWD=`pwd`
+
}


More information about the Frugalware-darcs mailing list