diff package @ 112:96b2eb7f25f5

move to autoconf/automake/docbook
author carl
date Sun, 18 Dec 2005 16:56:38 -0800
parents d0dad5610980
children a893afee4b80
line wrap: on
line diff
--- a/package	Sun Dec 18 15:16:25 2005 -0800
+++ b/package	Sun Dec 18 16:56:38 2005 -0800
@@ -14,41 +14,38 @@
 # cp -a html/*html $web
 make distcheck >$distlog 2>&1
 if [ $? -eq 0 ]; then
-    ls -al xml
-    exit
-
     if [ -f $BALL ]; then
         # expand locally to see the tarball
         rm -rf junk
-        mkdir junk
-        cd junk
-            tar xfz ../$BALL
-            cd $NAME-$VER
-                ./configure >/dev/null
-                make >/dev/null
-                make install >/dev/null
-                if [ -f /etc/rc.d/init.d/$NAME ]; then
-                    /etc/rc.d/init.d/$NAME stop
-                fi
-                make chkconfig
-                if [ -f /etc/rc.d/init.d/$NAME ]; then
-                    chkconfig $NAME on
-                    /etc/rc.d/init.d/$NAME start
-                fi
-            cd ..
-        cd ..
+     ## mkdir junk
+     ## cd junk
+     ##     tar xfz ../$BALL
+     ##     cd $NAME-$VER
+     ##         ./configure >/dev/null
+     ##         make >/dev/null
+     ##         make install >/dev/null
+     ##         if [ -f /etc/rc.d/init.d/$NAME ]; then
+     ##             /etc/rc.d/init.d/$NAME stop
+     ##         fi
+     ##         make chkconfig
+     ##         if [ -f /etc/rc.d/init.d/$NAME ]; then
+     ##             chkconfig $NAME on
+     ##             /etc/rc.d/init.d/$NAME start
+     ##         fi
+     ##     cd ..
+     ## cd ..
 
         # build rpm on target
         target=host62
         scp $BALL $target:/tmp
-        ssh $target "cd /tmp; rpmbuild -ta $BALL >/dev/null 2>&1"
+        ssh $target "cd /tmp; rpmbuild -ta $BALL"
 
         # add packages to the web site
         wp=$web/packages
         wp4=$wp/centos4
         rp=/usr/src/redhat
-        cp -a $BALL $wp
-        scp $target:$rp/SRPMS/$NAME-$VER*rpm $wp4
+        mv -f $BALL $wp
+        scp $target:$rp/SRPMS/$NAME-$VER*rpm $wp
         scp $target:$rp/RPMS/i386/$NAME-$VER*rpm $wp4
         (cd $web; chown --recursive web:web *; ls -alR)
         rpm -ql -p $wp4/$NAME-$VER*6.rpm