]> code.citadel.org Git - citadel.git/blobdiff - webcit/buildpackages
SMTP-Relay: add other ways of filtering
[citadel.git] / webcit / buildpackages
index 8a066da6c7cb5157c60cba608ba04ef37905c51d..617e5554d8cdfd4028262be5a4eec25a2696260e 100755 (executable)
@@ -60,9 +60,20 @@ case $1 in
        ;;
     sourcedist)
        if test "$2" == "dfsg"; then
-           NONDFSG=-"-exclude static/openid-small.gif"
+           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 "*.lo" \
+           --exclude "*.o" \
+           --exclude "*.d" \
+           --exclude "autom4te.cache/*" \
+           --exclude "debian/*" \
+           --exclude "sysdep.h" \
+           \
+           $NONDFSG \
+           \
+           -cvhzf webcit-${WEBCIT_VERSION}.tar.gz webcit-${WEBCIT_VERSION}/
        ;;
     i18n)
        ./webcit -G `pwd`/i18n_templatelist.c