OSSP CVS Repository

ossp - Difference in ossp-pkg/as/as-gui/devtool.conf versions 1.3 and 1.4
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/as/as-gui/devtool.conf 1.3 -> 1.4

--- devtool.conf 2002/11/28 17:04:18     1.3
+++ devtool.conf 2002/11/28 20:44:36     1.4
@@ -15,12 +15,47 @@
         --prefix=/tmp/titraq \
         "$@"
 
+%release
+    ./devtool version
+    ./devtool dist
+    ./devtool upload
+
 %version
-    ./shtool version -l c -n "OSSP titraq" -p "titraq_" -e titraq_version.c
+    ./shtool version -l c -n "OSSP asgui" -p asgui_ -e titraq_version.cpp
+    V=`./shtool version -l c -d long titraq_version.cpp`
+    sed -e "s/Version .*(.*)/Version $V/g" <README >README.n
+    mv README.n README
+
+%tag
+    V=`./shtool version -l c -d short titraq_version.cpp | sed -e 's;\.;_;g'`
+    echo "+++ tagging CVS sources as ASGUI_${V}"
+    cvs tag ASGUI_${V}
 
 %dist
+    echo "+++ cleaning"
+    rm -f asgui-*.tar.gz
+    ./devtool autoclean
+    echo "+++ generating"
+    ./devtool autogen
+    echo "+++ configuring"
+    ./devtool configure
+    echo "+++ building"
+    make clean all
+    echo "+++ cleaning"
     make distclean >/dev/null 2>&1
+    echo "+++ fixing"
     ./shtool fixperm -v .
-    V=`./shtool version -l txt -d short titraq_version.c`
-    ./shtool tarball -o titraq-${V}.tar.gz -d titraq-${V} -u ossp -g ossp \
-                     -e 'CVS,\.cvsignore,\.[ao]$,^\.,devtool.conf' -c 'gzip --best' .
+    echo "+++ rolling"
+    V=`./shtool version -l c -d short titraq_version.cpp`
+    ./shtool tarball -o asgui-${V}.tar.gz -d asgui-${V} \
+                     -e 'CVS,\.cvsignore,\.[ao]$,^\.,devtool*,*.tar.gz,^#.*,.*~$' -c 'gzip --best' .
+    ls -l asgui-${V}.tar.gz
+    echo "+++ testing"
+    gunzip <asgui-${V}.tar.gz | tar tvf - | head -10
+    echo "[...]"
+    gunzip <asgui-${V}.tar.gz | tar tvf - | tail -10
+
+%upload
+    echo "+++ copying to ftp://ftp.ossp.org/pkg/tool/asgui/"
+    V=`./shtool version -l c -d short titraq_version.cpp`
+    scp asgui-${V}.tar.gz ftp.ossp.org:/e/ossp/ftp/pkg/tool/asgui/

CVSTrac 2.0.1