* a way to exclude stuff from distribution packages
authorWilfried Göesgens <willi@citadel.org>
Sat, 21 Jun 2008 22:33:51 +0000 (22:33 +0000)
committerWilfried Göesgens <willi@citadel.org>
Sat, 21 Jun 2008 22:33:51 +0000 (22:33 +0000)
webcit/buildpackages

index 95462fff5976e69a4b51c194374d24febd38acaa..ef0763a4bd7d8cf32b519d973a3126880b782b69 100755 (executable)
@@ -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 "