ossp-pkg/xds/devtool.conf 1.4 -> 1.5
--- devtool.conf 2003/02/17 12:22:43 1.4
+++ devtool.conf 2003/02/17 12:36:02 1.5
@@ -21,12 +21,42 @@
"$@"
%version
- ./shtool version -l c -n "OSSP xds" -p "xds_" -e xds_version.c
+ shtool version -l c -n "OSSP xds" -p "xds_" -e xds_version.c
+ V=`shtool version -l c -d long xds_version.c`
+ sed -e "s/Version .*/Version $V/g" <README >README.n
+ mv README.n README
%dist
- make distclean >/dev/null 2>&1
+ rm -f xds-*.tar.gz
+ ./devtool autoclean
+ ./devtool autogen
+ ./configure
+ make clean all man
+ make distclean
./shtool fixperm -v .
V=`./shtool version -l c -d short xds_version.c`
- ./shtool tarball -o xds-${V}.tar.gz -d xds-${V} -u ossp -g ossp \
- -e 'CVS,\.cvsignore,\.[ao]$,^\.,devtool.conf' -c 'gzip --best' .
+ ./shtool tarball -o xds-${V}.tar.gz -d xds-${V} -u ossp -g xds \
+ -e 'CVS,\.cvsignore,\.[ao]$,^\.,devtool*' -c 'gzip --best' .
+ ls -l xds-${V}.tar.gz
+ gunzip <xds-${V}.tar.gz | tar tvf - | head -10; echo "[...]"
+ gunzip <xds-${V}.tar.gz | tar tvf - | tail -10
+
+%snap
+ rm -f xds-*.tar.gz
+ ./devtool autoclean
+ ./devtool autogen
+ ./configure
+ make clean all man
+ make distclean
+ ./shtool fixperm -v .
+ D=`date '+%Y%m%d'`
+ ./shtool tarball -o xds-SNAP-${D}.tar.gz -d xds-SNAP-${D} -u ossp -g xds \
+ -e 'CVS,\.cvsignore,\.[ao]$,^\.,devtool*' -c 'gzip --best' .
+ ls -l xds-SNAP-${D}.tar.gz
+ gunzip <xds-SNAP-${D}.tar.gz | tar tvf - | head -10; echo "[...]"
+ gunzip <xds-SNAP-${D}.tar.gz | tar tvf - | tail -10
+
+%release
+ echo "+++ copying to ftp://ftp.ossp.org/pkg/lib/xds/"
+ scp xds-*.tar.gz master.ossp.org:/e/ossp/ftp/pkg/lib/xds/
|
|