fi
if test "$done" = "false"; then
cd ..
- mv -- $SYMLINK "citadel-$CITADEL_VERSION"
- ln -sf "citadel-$CITADEL_VERSION" citadel
+ ln -sf citadel "citadel-$CITADEL_VERSION"
cd "citadel-$CITADEL_VERSION"
else
cd "../citadel-$CITADEL_VERSION"
cd tmp/citadel-$CITADEL_VERSION
rm -rf `find -name .svn ` svn*tmp config.log config.status
find -type f -exec chmod a-x {} \;
- chmod a+x configure mk_module_init.sh debian/rules mkinstalldirs
+ chmod a+x configure *.sh *.sh.in debian/rules debian/*inst* debian/rules mkinstalldirs
cd ..
tar -chzf citadel_${CITADEL_VERSION}.orig.tar.gz citadel-${CITADEL_VERSION}/ --exclude "debian/*"
pwd
./configure \
--with-db=/opt/csw/bdb44 \
--with-ical=/usr/local/ \
- --without-curses \
--with-prefix=/opt/csw/ \
--with-datadir=/opt/csw/var/lib/citadel \
--with-sysconfdir=/opt/csw/etc/citadel \
;;
sourcedist)
- cd ..; tar --exclude .svn --exclude "debian/*" -chvzf citadel-$CITADEL_VERSION.tar.gz citadel-$CITADEL_VERSION/
+ cd ..; tar \
+ --exclude ".gitignore" \
+ --exclude "*.lo" \
+ --exclude "*.o" \
+ --exclude "*.d" \
+ --exclude "autom4te.cache/*" \
+ --exclude "debian/*" \
+ --exclude "sysdep.h" \
+ \
+ -chvzf citadel-$CITADEL_VERSION.tar.gz citadel-$CITADEL_VERSION/
;;
*)
echo "Not yet implemented. we have: debian "