;;
sourcedist)
if test "$2" == "dfsg"; then
- NONDFSG=-"-exclude static/icons/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
- cd po; ./create-pot.sh
+ cd po/webcit; ./create-pot.sh
+ ;;
+ version)
+ echo This would build webcit-${WEBCIT_VERSION}
;;
*)
echo "Not yet implemented. we have: debian, sourcedist, i18n (needs ready compiled & installed webcit in your system)"