]> code.citadel.org Git - citadel.git/blobdiff - webcit/buildpackages
* depend on ical >= 0.43
[citadel.git] / webcit / buildpackages
index f55748a7d4601c735c7286e9b6723656b617a412..8ca301b529d9e8d25fb7847041d7da3c15ae3d5a 100755 (executable)
@@ -48,9 +48,9 @@ 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 
+           chmod a+x configure debian/rules po/create-pot.sh mk_module_init.sh
            cd ..
            tar -chzf webcit_${WEBCIT_VERSION}.orig.tar.gz webcit-${WEBCIT_VERSION}/ --exclude "debian/*"
            pwd
@@ -60,9 +60,16 @@ case $1 in
        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}/
+       ;;
+    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