goba Sun Jan 11 08:51:46 2004 EDT Added files: /livedocs .htaccess.in
Removed files: /livedocs .htaccess Modified files: /livedocs configure.in Log: let .htaccess be copied, and let the contents of the .htaccess be config dependent (this also means that WEBBASE should not contain regexp special chars, but that seems to be a minor problem) Index: livedocs/configure.in diff -u livedocs/configure.in:1.9 livedocs/configure.in:1.10 --- livedocs/configure.in:1.9 Mon Jul 28 18:55:03 2003 +++ livedocs/configure.in Sun Jan 11 08:51:46 2004 @@ -1,5 +1,5 @@ ## A configure script -## $Id: configure.in,v 1.9 2003/07/28 22:55:03 ilia Exp $ +## $Id: configure.in,v 1.10 2004/01/11 13:51:46 goba Exp $ AC_PREREQ(2.13) AC_INIT(livedoc.css) @@ -55,13 +55,13 @@ AC_SUBST(WEBBASE) AC_SUBST(GENDIR) -AC_OUTPUT(build-ops config.php) +AC_OUTPUT(build-ops config.php .htaccess) if ! test -d "$OUTPUTDIR" ; then AC_MSG_ERROR([HEY!! You should probably mkdir $OUTPUTDIR...]) else echo "Copying livedoc files to $OUTPUTDIR..." - cp common.php config.php livedoc-index.php $OUTPUTDIR + cp common.php config.php livedoc-index.php .htaccess $OUTPUTDIR ln -sf $LIVEDOCS/livedoc.php $OUTPUTDIR/index.php ln -sf $LIVEDOCS/search.php $OUTPUTDIR/search.php ln -sf $LIVEDOCS/livedoc.css $OUTPUTDIR/livedoc.css Index: livedocs/.htaccess.in +++ livedocs/.htaccess.in RewriteEngine on RewriteRule @[EMAIL PROTECTED] @[EMAIL PROTECTED] ErrorDocument 404 @[EMAIL PROTECTED] DirectoryIndex index.php