]> source.dussan.org Git - jquery.git/commitdiff
Added .htaccess file for docs directory.
authorJohn Resig <jeresig@gmail.com>
Sat, 16 Sep 2006 23:22:29 +0000 (23:22 +0000)
committerJohn Resig <jeresig@gmail.com>
Sat, 16 Sep 2006 23:22:29 +0000 (23:22 +0000)
Makefile
build.xml
build/docs/.htaccess [new file with mode: 0644]

index e11ea5d2781f8a9c96973b509ddb62b4b79f2a1c..9a763340d553470c2958097da8d97600a56bd6e8 100644 (file)
--- 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
 
index 4aa500719c46f638db4916de36a590d525cdc817..19a8b22154ca172114720ce7783793a6bd9190e5 100644 (file)
--- 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 (file)
index 0000000..40fddde
--- /dev/null
@@ -0,0 +1 @@
+DirectoryIndex index.xml