diff options
-rw-r--r-- | configure.ac | 4 | ||||
-rw-r--r-- | libraries/prologue.txt | 5 | ||||
-rw-r--r-- | libraries/prologue.txt.in | 5 |
3 files changed, 8 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac index 541524659a..4cacfd6e57 100644 --- a/configure.ac +++ b/configure.ac @@ -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 index abc83ba6b4..0000000000 --- a/libraries/prologue.txt +++ /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 index 0000000000..fd264b279f --- /dev/null +++ b/libraries/prologue.txt.in @@ -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>. + |