diff package @ 18:69ab1d8b3293

switch to automake/autoconf
author carl
date Sun, 19 Feb 2006 19:51:50 -0800
parents ac98f448b6ab
children f4643b609bdf
line wrap: on
line diff
--- a/package	Sun Feb 19 19:45:02 2006 -0800
+++ b/package	Sun Feb 19 19:51:50 2006 -0800
@@ -1,12 +1,25 @@
 #!/bin/bash
 
 pst=outlook.pst
+cp /home/ldap/$pst .
 
-cp /home/ldap/$pst .
+T=`grep AM_INIT_AUTOMAKE configure.in | cut -d'(' -f2`
+NAME=`echo $T | cut -d, -f1`
+VER=`echo $T | cut -d, -f2 | cut -d')' -f1`
+BALL=$NAME-$VER.tar.gz
+web=/home/httpd/html/510sg/$NAME
+distlog=/tmp/distcheck
+
+echo $web $BALL
+
 chown --recursive root:root *
-make clean
-make all
+make -f *cvs
+./configure >/dev/null
+(cd xml; make; make distclean)
 chown --recursive carl:carl *
+make distcheck >$distlog 2>&1
+
+exit
 
 if [ -f pst2ldif ]; then
     rm -f pst2ldif.log my.log