OSSP CVS Repository

ossp - Difference in ossp-pkg/lmtp2nntp/devtool.conf versions 1.11 and 1.12
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/lmtp2nntp/devtool.conf 1.11 -> 1.12

--- devtool.conf 2003/02/04 14:51:46     1.11
+++ devtool.conf 2003/02/04 15:03:33     1.12
@@ -38,15 +38,49 @@
         --enable-debug \
         "$@"
 
+%release
+    ./devtool version
+    ./devtool tag
+    ./devtool dist
+    ./devtool upload
+
 %version
     ./shtool version -l c -n "OSSP lmtp2nntp" -p "lmtp2nntp_" -e lmtp2nntp_version.c
         V=`./shtool version -lc -dlong lmtp2nntp_version.c`
         sed -e "s/Version .*(.*)/Version $V/g" <README >README.n && mv README.n README
 
+%tag
+        V=`./shtool version -lc -dshort lmtp2nntp_version.c | sed -e 's;\.;_;g'`
+    echo "+++ tagging CVS sources as LMTP2NNTP_${V}"
+    cvs commit -m 'flush pending changes before tagging'
+    cvs tag LMTP2NNTP_${V}
+
 %dist
-    make distclean >/dev/null 2>&1
+    echo "+++ removing old tarballs"
+    rm -f lmtp2nntp-*.tar.gz
+    echo "+++ generating"
+    ./devtool autoclean
+    ./devtool autogen
+    echo "+++ configuring"
+    ./devtool configure
+    echo "+++ building"
+    make clean all man
+    echo "+++ cleaning"
+    make distclean
+    echo "+++ fixing"
     ./shtool fixperm -v .
-    V=`./shtool version -l c -d short lmtp2nntp_version.c`
+    echo "+++ rolling"
+    V=`./shtool version -lc -dshort lmtp2nntp_version.c`
     ./shtool tarball -o lmtp2nntp-${V}.tar.gz -d lmtp2nntp-${V} -u ossp -g ossp \
-                     -e 'CVS,\.cvsignore,\.[ao],^\.,devtool.conf,*.tar.gz,*.bak,00TODO,autom4te\.cache,^[0-9]\.*,*~*' \
+                     -e 'CVS,\.cvsignore,\.[ao]$,^\.,devtool*,*.tar.gz,^#.*,.*~$,*.bak,00TODO,autom4te\.cache,^[0-9]\.*' \
                      -c 'gzip --best' .
+    ls -l lmtp2nntp-${V}.tar.gz
+    echo "+++ testing"
+    gunzip <lmtp2nntp-${V}.tar.gz | tar tvf - | head -10
+    echo "[...]"
+    gunzip <lmtp2nntp-${V}.tar.gz | tar tvf - | tail -10
+
+%upload
+    echo "+++ copying to ftp://ftp.ossp.org/pkg/tool/lmtp2nntp/"
+        V=`./shtool version -lc -dshort lmtp2nntp_version.c`
+    scp lmtp2nntp-${V}.tar.gz master.ossp.org:/e/ossp/ftp/pkg/tool/lmtp2nntp/

CVSTrac 2.0.1