Revision: 274
Author:   yetist
Date:     Fri Apr 15 09:15:42 2011
Log:      update scripts
http://code.google.com/p/gtk-doc-cn/source/detail?r=274
Modified:
  /trunk/tools/Makefile
  /trunk/tools/gadt-mkhtml
=======================================
--- /trunk/tools/Makefile	Fri Apr 15 07:01:25 2011
+++ /trunk/tools/Makefile	Fri Apr 15 09:15:42 2011
@@ -14,7 +14,7 @@
  	@gadt-mkhtml --log --browser
  merge:
-	@gadt-mkhtml --mergepo --mergexml
+	@gadt-mkhtml --mergepo
  commit:
  	@(if svn status |grep "^M";then \
=======================================
--- /trunk/tools/gadt-mkhtml	Fri Apr 15 07:18:11 2011
+++ /trunk/tools/gadt-mkhtml	Fri Apr 15 09:15:42 2011
@@ -326,7 +326,6 @@
  			local xmlpos=`cat $startdir/AUTHORS|grep -v "^#"|grep $username | 
awk '{print $3}'`
  			eval $xmlpos #这将会产生xmlpo_files变量
  			var=`echo $xmlpo_files |sed 's/,/ /g'`
-			echo $var
  			for i in $var;
  			do
  				mname=${i%.po}
@@ -433,7 +432,7 @@
  		cat $startdir/AUTHORS|grep -v "^#"|sort|while read line;
  		do
  			author=`echo $line|awk '{print $1}'`
-			if [ "x$author" == "xunknown" -o "x$author" == "finished" ];then
+			if [ "x$author" == "xunknown" -o "x$author" == "xfinished" ];then
  				continue
  			fi
  			mail=`echo $line|awk '{print $2}'`
@@ -627,7 +626,7 @@
  review_all_sgml()
  {
-	local olddocs=$startdir/docs-$pkgver
+	local olddocs=$startdir/$modname-docs
  	if [ -d $olddocs ];then
  		for f in `find $olddocs -name "*.sgml"`;
  		do
@@ -635,7 +634,7 @@
  			vim -d $docdir/$filename ${olddocs}/$filename
  		done
  	else
-		warning "You have not the docs-$pkgver"
+		warning "You have not the $modname-docs"
  	fi
  }