Fix the link to the ghc docs in libraries/prologue.txt
authorIan Lynagh <igloo@earth.li>
Tue, 23 Feb 2010 18:16:44 +0000 (18:16 +0000)
committerIan Lynagh <igloo@earth.li>
Tue, 23 Feb 2010 18:16:44 +0000 (18:16 +0000)
configure.ac
libraries/prologue.txt [deleted file]
libraries/prologue.txt.in [new file with mode: 0644]

index 5415246..4cacfd6 100644 (file)
@@ -905,12 +905,14 @@ AC_SUBST(BUILD_DOCBOOK_PDF)
 LIBRARY_VERSION(base)
 LIBRARY_VERSION(Cabal)
 LIBRARY_VERSION(ghc-prim)
+LIBRARY_ghc_VERSION="$ProjectVersion"
+AC_SUBST(LIBRARY_ghc_VERSION)
 
 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 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 libraries/prologue.txt distrib/ghc.iss distrib/configure.ac])
 AC_CONFIG_COMMANDS([mk/stamp-h],[echo timestamp > mk/stamp-h])
 AC_OUTPUT
 
diff --git a/libraries/prologue.txt b/libraries/prologue.txt
deleted file mode 100644 (file)
index abc83ba..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-
-This index includes documentation for many Haskell modules.
-
-For documentation on the GHC API, see <ghc/index.html>.
-
diff --git a/libraries/prologue.txt.in b/libraries/prologue.txt.in
new file mode 100644 (file)
index 0000000..fd264b2
--- /dev/null
@@ -0,0 +1,5 @@
+
+This index includes documentation for many Haskell modules.
+
+For documentation on the GHC API, see <ghc-@LIBRARY_ghc_VERSION@/index.html>.
+