]> code.citadel.org Git - citadel.git/blobdiff - libcitadel/buildpackages
Buildpackgaes: more files to ignore for the distribution tarballs.
[citadel.git] / libcitadel / buildpackages
index 0766d401c2e2aaa324cd7bdf1ee3460777fe08fc..0a2bd583e4d2092806b05644a3dda42e0cd291a6 100755 (executable)
@@ -8,7 +8,6 @@ fi
 
 export `grep PACKAGE_VERSION= configure |sed -e "s;';;g" -e "s;PACKAGE;LIBCITADEL;"`
 
-PACKAGE_VERSION=`cat packageversion`
 DATE=`date '+%a, %d %b %Y %H:%I:00 %z'`
 ACTUAL_DIR=`pwd`
 
@@ -101,18 +100,21 @@ EMAIL=citadel@outgesourced.org
 
        ;;
     sourcedist)
-       cd ..; tar --exclude .svn \
-           --exclude "*svn*" \
-           --exclude .libs \
+       cd ..; tar \
+           --exclude ".gitignore" \
            --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/
        ;;
        *)
-               echo "Not yet implemented. we have: debian "
+               echo "Not yet implemented. we have: debian, sourcedist "
                ;;
 esac