* added directory calculation routines
* added Documentation for packaging staff.
DIRS= static
EDITOR_DIRS=tiny_mce
DIRS= static
EDITOR_DIRS=tiny_mce
- export STATIC_DIR=@editor@; \
+ export EDITOR_DIR=@editordir@; \
for dir in $(EDITOR_DIRS); do \
for dir in $(EDITOR_DIRS); do \
- $(mkinstalldirs) $(DESTDIR)/$$STATIC_DIR/$$dir; \
+ $(mkinstalldirs) $(DESTDIR)/$$EDITOR_DIR/$$dir; \
for subdir in `find $$dir -type d |grep -v .svn`; do \
for subdir in `find $$dir -type d |grep -v .svn`; do \
- $(mkinstalldirs) $(DESTDIR)/$$STATIC_DIR/$$subdir; \
+ $(mkinstalldirs) $(DESTDIR)/$$EDITOR_DIR/$$subdir; \
for file in $(srcdir)/$$subdir/*; do \
if test -f "$$file" ; then \
for file in $(srcdir)/$$subdir/*; do \
if test -f "$$file" ; then \
- $(INSTALL_DATA) $$file $(DESTDIR)$$STATIC_DIR/$$subdir; \
+ $(INSTALL_DATA) $$file $(DESTDIR)$$EDITOR_DIR/$$subdir; \
they're accessed at runtime. (The debian instatll scripts provided with this package
do this to preserve user changes to the template system, see debian/citadel-webcit.postinstall)
they're accessed at runtime. (The debian instatll scripts provided with this package
do this to preserve user changes to the template system, see debian/citadel-webcit.postinstall)
Further there are possibilities to load the tiny_mce editor into a system uniq location. Webcit
uses this standard component compose its messages for mails and postings. Several webcit installations
that may differ in design but use the same tiny_mce (which is the default that webcit ships with)
Further there are possibilities to load the tiny_mce editor into a system uniq location. Webcit
uses this standard component compose its messages for mails and postings. Several webcit installations
that may differ in design but use the same tiny_mce (which is the default that webcit ships with)
+(set --with-editordir for that, it defaults to the dir the templates go)
AC_DEFINE_UNQUOTED([DATADIR],["$staticrundir"],where should we make our root?)
AC_DEFINE_UNQUOTED([DATADIR],["$staticrundir"],where should we make our root?)
-AC_ARG_WITH(editor, [ --with-editor=DIR where to search the editor at runtime],
+AC_ARG_WITH(editordir, [ --with-editordir=DIR where to search the editor at runtime],
[ editordir=$withval ],[ editordir=$staticrundir ] )
[ editordir=$withval ],[ editordir=$staticrundir ] )
AC_DEFINE_UNQUOTED([EDITORDIR],["$editordir"],where find the editor (tiny_mce)?)
AC_DEFINE_UNQUOTED([EDITORDIR],["$editordir"],where find the editor (tiny_mce)?)
AC_OUTPUT(Makefile src/Makefile po/Makefile.in )
AC_OUTPUT(Makefile src/Makefile po/Makefile.in )
# postrm.skeleton
# Skeleton maintainer script showing all the possible cases.
# Written by Charles Briscoe-Smith, March-June 1998. Public Domain.
# postrm.skeleton
# Skeleton maintainer script showing all the possible cases.
# Written by Charles Briscoe-Smith, March-June 1998. Public Domain.
fi
#rmdir /var/lib/citadel/www/static
echo "/var/lib/citadel/www/keys not removed. "
fi
#rmdir /var/lib/citadel/www/static
echo "/var/lib/citadel/www/keys not removed. "
- db_purge 'citadel/WebcitHttpsPort'
- db_purge 'citadel/WebcitHttpPort'
- db_purge 'citade/WebcitInstallnote'
- ### TODO: remove citadel from inittab!
+ db_purge
+### 'citadel/WebcitHttpsPort'
+### db_purge 'citadel/WebcitHttpPort'
+### db_purge 'citade/WebcitInstallnote'
+### ### TODO: remove citadel from inittab!
;;
disappear)
if test "$2" != overwriter; then
;;
disappear)
if test "$2" != overwriter; then
--prefix=/usr \
--with-staticdir=/usr/share/doc/citadel-webcit/examples \
--with-staticrundir=/var/lib/citadel/www/ \
--prefix=/usr \
--with-staticdir=/usr/share/doc/citadel-webcit/examples \
--with-staticrundir=/var/lib/citadel/www/ \
- --with-editor=/usr/share/tiny_mce/ \
+ --with-editordir=/usr/share/ \
--with-rundir=/var/run/citadel \
--with-ical --with-db --with-ldap --with-zlib --with-ssl --with-libiconf --with-newt --with-included-gettext
touch configure-stamp
--with-rundir=/var/run/citadel \
--with-ical --with-db --with-ldap --with-zlib --with-ssl --with-libiconf --with-newt --with-included-gettext
touch configure-stamp
+#we don't do /usr/share/tiny_mce, because of make brings one with it.