cd tmp/webcit-$WEBCIT_VERSION
rm -rf `find -name .svn ` svn*tmp* build-stamp configure-stamp *~ config.guess config.log config.status autom4te.cache
find -type f -exec chmod a-x {} \;
- chmod a+x configure debian/rules
+ chmod a+x configure debian/rules po/create-pot.sh
cd ..
tar -chzf webcit_${WEBCIT_VERSION}.orig.tar.gz webcit-${WEBCIT_VERSION}/ --exclude "debian/*"
pwd
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 "