Added .htaccess file for docs directory.

This commit is contained in:
John Resig 2006-09-16 23:22:29 +00:00
parent 394334671c
commit 2d56dbc13d
3 changed files with 5 additions and 0 deletions

View file

@ -84,6 +84,9 @@ docs: ${JQ}
@@mkdir -p ${DOCS_DIR} @@mkdir -p ${DOCS_DIR}
@@mkdir -p ${DOCS_DIR}/data @@mkdir -p ${DOCS_DIR}/data
@@echo " - Copying over htaccess file."
@@cp -fR ${BUILD_DIR}/docs/.htaccess ${DOCS_DIR}
@@echo " - Copying over script files." @@echo " - Copying over script files."
@@cp -fR ${BUILD_DIR}/docs/js ${DOCS_DIR}/js @@cp -fR ${BUILD_DIR}/docs/js ${DOCS_DIR}/js

View file

@ -81,6 +81,7 @@
<echo message="Building Documentation" /> <echo message="Building Documentation" />
<delete dir="${DOCS_DIR}" /> <delete dir="${DOCS_DIR}" />
<mkdir dir="${DOCS_DIR}/data" /> <mkdir dir="${DOCS_DIR}/data" />
<copy todir="${DOCS_DIR}" file="${BUILD_DIR}/docs/.htaccess" />
<mkdir dir="${DOCS_DIR}/js" /> <mkdir dir="${DOCS_DIR}/js" />
<copy todir="${DOCS_DIR}/js" > <copy todir="${DOCS_DIR}/js" >
<fileset dir="${BUILD_DIR}/docs/js"> <fileset dir="${BUILD_DIR}/docs/js">

1
build/docs/.htaccess Normal file
View file

@ -0,0 +1 @@
DirectoryIndex index.xml