JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
remove the ev->state check in enternotify()
[spectrwm.git] / release.sh
index 08fcf50..74e5b61 100644 (file)
@@ -4,7 +4,7 @@
 
 PREFIX=scrotwm-
 DIRS="lib linux"
-FILES="Makefile baraction.sh initscreen.sh screenshot.sh scrotwm.1 scrotwm_es.1 scrotwm_it.1 scrotwm.c scrotwm.conf linux/Makefile linux/linux.c linux/util.h lib/Makefile lib/shlib_version lib/swm_hack.c"
+FILES="Makefile baraction.sh initscreen.sh screenshot.sh scrotwm.1 scrotwm_es.1 scrotwm_it.1 scrotwm_ru.1 scrotwm.c scrotwm.conf linux/Makefile linux/linux.c linux/util.h lib/Makefile lib/shlib_version lib/swm_hack.c"
 
 if [ -z "$1" ]; then
        echo "usage: release.sh <version>"
@@ -35,6 +35,8 @@ done
 tar zcf $TARGET.tgz $TARGET
 
 # make port
+sudo rm -rf ports
+sudo cvs -d /cvs co ports/x11/scrotwm
 PORT="$PREFIX$1-port"
 mkdir $PORT
 
@@ -60,4 +62,7 @@ cp port/patches/patch-scrotwm_c $PORT/patches/
 cp port/patches/patch-scrotwm_conf $PORT/patches/
 
 # make diff
-diff -ruNp -x CVS /usr/ports/x11/scrotwm/ $PORT > $TARGET.diff
+diff -ruNp -x CVS ports/x11/scrotwm/ $PORT > $TARGET.diff
+
+# kill ports dir or cvs will be angry
+sudo rm -rf ports