Fix the GHC API link in the main doc index.html
authorIan Lynagh <igloo@earth.li>
Thu, 22 Apr 2010 21:32:26 +0000 (21:32 +0000)
committerIan Lynagh <igloo@earth.li>
Thu, 22 Apr 2010 21:32:26 +0000 (21:32 +0000)
configure.ac
docs/index.html.in [moved from docs/index.html with 94% similarity]

index 9ab6b34..51b04d6 100644 (file)
@@ -915,7 +915,7 @@ if grep '   ' compiler/ghc.cabal.in 2>&1 >/dev/null; then
    AC_MSG_ERROR([compiler/ghc.cabal.in contains tab characters; please remove them])
 fi
 
-AC_CONFIG_FILES([mk/config.mk mk/install.mk mk/project.mk compiler/ghc.cabal ghc/ghc-bin.cabal ghc.spec extra-gcc-opts docs/users_guide/ug-book.xml docs/users_guide/ug-ent.xml libraries/prologue.txt distrib/ghc.iss distrib/configure.ac])
+AC_CONFIG_FILES([mk/config.mk mk/install.mk mk/project.mk compiler/ghc.cabal ghc/ghc-bin.cabal ghc.spec extra-gcc-opts docs/users_guide/ug-book.xml docs/users_guide/ug-ent.xml docs/index.html libraries/prologue.txt distrib/ghc.iss distrib/configure.ac])
 AC_CONFIG_COMMANDS([mk/stamp-h],[echo timestamp > mk/stamp-h])
 AC_OUTPUT
 
similarity index 94%
rename from docs/index.html
rename to docs/index.html.in
index edb89b5..e4463bc 100644 (file)
@@ -39,7 +39,7 @@
 
       <LI>
         <P>
-          <B><A HREF="libraries/ghc/index.html">GHC API</A></B>
+          <B><A HREF="libraries/ghc-@ProjectVersion@/index.html">GHC API</A></B>
         </P>
         <P>
           Documentation for the GHC API.