X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fbuildpackages;h=83d535fa5c6bf39be44660eeea0c0cd4ded03cb1;hb=d218244e2b4ac89f4433ab262d80c77ca8141b0c;hp=ae6dc187df913aa80df3acbbec76e172bad559b2;hpb=3456e81321342447bcf0d08d2796a625e165a0e1;p=citadel.git diff --git a/webcit/buildpackages b/webcit/buildpackages index ae6dc187d..83d535fa5 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" @@ -48,7 +47,7 @@ case $1 in mkdir tmp cp -rL webcit-$WEBCIT_VERSION tmp cd tmp/webcit-$WEBCIT_VERSION - rm -rf `find -name .svn ` svn*tmp* build-stamp configure-stamp *~ config.guess config.log config.status autom4te.cache + rm -rf `find -name .svn ` svn*tmp* build-stamp configure-stamp *~ config.guess config.log config.status autom4te.cache Makefile find -type f -exec chmod a-x {} \; chmod a+x configure debian/rules po/create-pot.sh mk_module_init.sh cd .. @@ -61,11 +60,15 @@ 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 "debian/*" $NONDFSG -cvhzf webcit-${WEBCIT_VERSION}.tar.gz webcit-${WEBCIT_VERSION}/ + ;; + i18n) + ./webcit -G `pwd`/i18n_templatelist.c + cd po; ./create-pot.sh ;; *) - echo "Not yet implemented. we have: debian " + echo "Not yet implemented. we have: debian, sourcedist, i18n (needs ready compiled & installed webcit in your system)" ;; esac