aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Resig <jeresig@gmail.com>2006-09-16 23:22:29 +0000
committerJohn Resig <jeresig@gmail.com>2006-09-16 23:22:29 +0000
commit2d56dbc13d9c1254eb740ca48f413e9513f0e533 (patch)
treefe20abb896e04181c4559c68257d2c08f67ce0b8
parent394334671cd4a0b22c01f724b30933fc83df863d (diff)
downloadjquery-2d56dbc13d9c1254eb740ca48f413e9513f0e533.tar.gz
jquery-2d56dbc13d9c1254eb740ca48f413e9513f0e533.zip
Added .htaccess file for docs directory.
-rw-r--r--Makefile3
-rw-r--r--build.xml1
-rw-r--r--build/docs/.htaccess1
3 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index e11ea5d27..9a763340d 100644
--- a/Makefile
+++ b/Makefile
@@ -84,6 +84,9 @@ docs: ${JQ}
@@mkdir -p ${DOCS_DIR}
@@mkdir -p ${DOCS_DIR}/data
+ @@echo " - Copying over htaccess file."
+ @@cp -fR ${BUILD_DIR}/docs/.htaccess ${DOCS_DIR}
+
@@echo " - Copying over script files."
@@cp -fR ${BUILD_DIR}/docs/js ${DOCS_DIR}/js
diff --git a/build.xml b/build.xml
index 4aa500719..19a8b2215 100644
--- a/build.xml
+++ b/build.xml
@@ -81,6 +81,7 @@
<echo message="Building Documentation" />
<delete dir="${DOCS_DIR}" />
<mkdir dir="${DOCS_DIR}/data" />
+ <copy todir="${DOCS_DIR}" file="${BUILD_DIR}/docs/.htaccess" />
<mkdir dir="${DOCS_DIR}/js" />
<copy todir="${DOCS_DIR}/js" >
<fileset dir="${BUILD_DIR}/docs/js">
diff --git a/build/docs/.htaccess b/build/docs/.htaccess
new file mode 100644
index 000000000..40fddde1f
--- /dev/null
+++ b/build/docs/.htaccess
@@ -0,0 +1 @@
+DirectoryIndex index.xml