X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fbuildpackages;h=511ab792555b8ff0449e1df9e79305634f989aef;hb=373b01806f2c2949b86b0ef83b28e15d38af5ee6;hp=8a066da6c7cb5157c60cba608ba04ef37905c51d;hpb=1132bd1cb61e706eb941ed23328bf0ae4a00f26e;p=citadel.git diff --git a/webcit/buildpackages b/webcit/buildpackages index 8a066da6c..511ab7925 100755 --- a/webcit/buildpackages +++ b/webcit/buildpackages @@ -60,13 +60,27 @@ 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 - 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)"