exclude git specific files from the distribution tarballs
[citadel.git] / webcit / buildpackages
index b160264ac72bbec27254661813bc1c670ce370f0..83d535fa5c6bf39be44660eeea0c0cd4ded03cb1 100755 (executable)
@@ -62,7 +62,7 @@ case $1 in
        if test "$2" == "dfsg"; then
            NONDFSG=-"-exclude static/webcit_icons/openid-small.gif"
        fi
-       cd ..; tar --exclude .svn --exclude "debian/*" $NONDFSG -cvhzf webcit-${WEBCIT_VERSION}.tar.gz webcit-${WEBCIT_VERSION}/
+       cd ..; tar --exclude .gitignore --exclude "debian/*" $NONDFSG -cvhzf webcit-${WEBCIT_VERSION}.tar.gz webcit-${WEBCIT_VERSION}/
        ;;
     i18n)
        ./webcit -G `pwd`/i18n_templatelist.c