follow new library version
[citadel.git] / libcitadel / buildpackages
index 7b16b6fde2d5e4e93c1fcefafbd219479da8817a..1b31ee8015b2fd3265b4e8812770a88bca30904e 100755 (executable)
@@ -6,7 +6,7 @@ fi
 
 ./bootstrap
 
-export `grep PACKAGE_VERSION= configure |sed -e "s;';;g" -e "s;PACKAGE;LIBCITADEL;"`
+export `grep PACKAGE_VERSION= configure |sed -e "s;';;g" -e "s;PACKAGE;LIBCITADEL;"  -e "s;4.;;"`
 
 DATE=`date '+%a, %d %b %Y %H:%I:00 %z'`
 ACTUAL_DIR=`pwd`
@@ -100,14 +100,16 @@ EMAIL=citadel@outgesourced.org
 
        ;;
     sourcedist)
-       cd ..; tar --exclude .svn \
+       cd ..; tar \
            --exclude ".gitignore" \
-           --exclude .libs \
            --exclude "*.lo" \
            --exclude "*.o" \
            --exclude "*.d" \
+           --exclude "autom4te.cache/*" \
            --exclude "debian/*" \
            --exclude "sysdep.h" \
+           \
+           --exclude .libs \
            --exclude tests/testdata \
            \
            -chvzf libcitadel-$LIBCITADEL_VERSION.tar.gz libcitadel-$LIBCITADEL_VERSION/