X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fbuildpackages;h=49dda253710f0c8391c53f96e4533b30f7742451;hb=bfec4da21231085815598d62764928d2be27fcdc;hp=8ca301b529d9e8d25fb7847041d7da3c15ae3d5a;hpb=fc2cf08fd3184788eb3679011753c62e549bcd83;p=citadel.git diff --git a/webcit/buildpackages b/webcit/buildpackages index 8ca301b52..49dda2537 100755 --- a/webcit/buildpackages +++ b/webcit/buildpackages @@ -26,8 +26,7 @@ else fi if test "$done" = "false"; then cd .. - mv -- $SYMLINK "webcit-$WEBCIT_VERSION" - ln -sf "webcit-$WEBCIT_VERSION" webcit + ln -sf webcit "webcit-$WEBCIT_VERSION" cd "webcit-$WEBCIT_VERSION" else cd "../webcit-$WEBCIT_VERSION" @@ -61,13 +60,24 @@ 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 ;; *) echo "Not yet implemented. we have: debian, sourcedist, i18n (needs ready compiled & installed webcit in your system)"