From: Wilfried Göesgens Date: Sat, 21 Jun 2008 22:33:51 +0000 (+0000) Subject: * a way to exclude stuff from distribution packages X-Git-Tag: v7.86~2137 X-Git-Url: https://code.citadel.org/?a=commitdiff_plain;ds=sidebyside;h=1824c8d90410a22fbde8589cfd43ec8e42d53d11;p=citadel.git * a way to exclude stuff from distribution packages --- diff --git a/webcit/buildpackages b/webcit/buildpackages index 95462fff5..ef0763a4b 100755 --- a/webcit/buildpackages +++ b/webcit/buildpackages @@ -60,7 +60,10 @@ case $1 in fi ;; sourcedist) - cd ..; tar --exclude .svn --exclude "debian/*" -cvhzf webcit-${WEBCIT_VERSION}.tar.gz webcit-${WEBCIT_VERSION}/ + if test "$2" == "dfsg"; then + NONDFSG=-"-exclude static/openid-small.gif" + fi + cd ..; tar --exclude .svn --exclude "debian/*" $NONDFSG -cvhzf webcit-${WEBCIT_VERSION}.tar.gz webcit-${WEBCIT_VERSION}/ ;; *) echo "Not yet implemented. we have: debian "