ossp-pkg/l2/devtool.conf 1.4 -> 1.5
--- devtool.conf 2002/07/28 08:04:53 1.4
+++ devtool.conf 2002/07/30 19:08:24 1.5
@@ -20,13 +20,48 @@
--enable-debug \
"$@"
+%release
+ ./devtool version
+ ./devtool dist
+ ./devtool upload
+
%version
- ./shtool version -l c -n "OSSP l2" -p "l2_" -e l2_version.c
+ ./shtool version -l c -n "OSSP l2" -p l2_ -e l2_version.c
+ V=`./shtool version -l c -d long l2_version.c`
+ sed -e "s/Version .*(.*)/Version $V/g" <README >README.n
+ mv README.n README
+
+%tag
+ V=`./shtool version -l c -d short l2_version.c | sed -e 's;\.;_;g'`
+ echo "+++ tagging CVS sources as L2_${V}"
+ cvs tag L2_${V}
%dist
- make distclean >/dev/null 2>&1
+ echo "+++ removing old tarballs"
+ rm -f l2-*.tar.gz
+ echo "+++ generating"
+ ./devtool autoclean
+ ./devtool autogen
+ echo "+++ configuring"
+ ./configure
+ echo "+++ building"
+ make clean all man
+ echo "+++ cleaning"
+ make distclean
+ echo "+++ fixing"
./shtool fixperm -v .
+ echo "+++ rolling"
V=`./shtool version -l c -d short l2_version.c`
./shtool tarball -o l2-${V}.tar.gz -d l2-${V} -u ossp -g ossp \
- -e 'CVS,\.cvsignore,\.[ao]$,^\.,devtool.conf' -c 'gzip --best' .
+ -e 'CVS,\.cvsignore,\.[ao]$,^\.,devtool*,*.tar.gz,^#.*,.*~$' -c 'gzip --best' .
+ ls -l l2-${V}.tar.gz
+ echo "+++ testing"
+ gunzip <l2-${V}.tar.gz | tar tvf - | head -10
+ echo "[...]"
+ gunzip <l2-${V}.tar.gz | tar tvf - | tail -10
+
+%upload
+ echo "+++ copying to ftp://ftp.ossp.org/pkg/lib/l2//"
+ V=`./shtool version -l c -d short l2_version.c`
+ scp l2-${V}.tar.gz master.ossp.org:/e/ossp/ftp/pkg/lib/l2//
|
|