comparison package @ 18:69ab1d8b3293

switch to automake/autoconf
author carl
date Sun, 19 Feb 2006 19:51:50 -0800
parents ac98f448b6ab
children f4643b609bdf
comparison
equal deleted inserted replaced
17:ec7e344e0dfb 18:69ab1d8b3293
1 #!/bin/bash 1 #!/bin/bash
2 2
3 pst=outlook.pst 3 pst=outlook.pst
4 cp /home/ldap/$pst .
4 5
5 cp /home/ldap/$pst . 6 T=`grep AM_INIT_AUTOMAKE configure.in | cut -d'(' -f2`
7 NAME=`echo $T | cut -d, -f1`
8 VER=`echo $T | cut -d, -f2 | cut -d')' -f1`
9 BALL=$NAME-$VER.tar.gz
10 web=/home/httpd/html/510sg/$NAME
11 distlog=/tmp/distcheck
12
13 echo $web $BALL
14
6 chown --recursive root:root * 15 chown --recursive root:root *
7 make clean 16 make -f *cvs
8 make all 17 ./configure >/dev/null
18 (cd xml; make; make distclean)
9 chown --recursive carl:carl * 19 chown --recursive carl:carl *
20 make distcheck >$distlog 2>&1
21
22 exit
10 23
11 if [ -f pst2ldif ]; then 24 if [ -f pst2ldif ]; then
12 rm -f pst2ldif.log my.log 25 rm -f pst2ldif.log my.log
13 ./pst2ldif -b 'o=ams-cc.com, c=US' -c 'newPerson' $pst >ams.ldif 26 ./pst2ldif -b 'o=ams-cc.com, c=US' -c 'newPerson' $pst >ams.ldif
14 ./readpstlog pst2ldif.log | less >my.log 27 ./readpstlog pst2ldif.log | less >my.log