Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
GHC
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alex McKenna
GHC
Commits
5c103922
Commit
5c103922
authored
16 years ago
by
Ian Lynagh
Browse files
Options
Downloads
Patches
Plain Diff
Remove the haddock detection
Now that we build haddock in the GHC build, we don't need to look for it on the path.
parent
d1876c6a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
aclocal.m4
+0
-21
0 additions, 21 deletions
aclocal.m4
mk/config.mk.in
+0
-5
0 additions, 5 deletions
mk/config.mk.in
mk/package.mk
+0
-7
0 additions, 7 deletions
mk/package.mk
with
0 additions
and
33 deletions
aclocal.m4
+
0
−
21
View file @
5c103922
...
...
@@ -253,27 +253,6 @@ HappyVersion=$fptools_cv_happy_version;
AC_SUBST(HappyVersion)
])
dnl
dnl Check for Haddock and version. If there's no installed Haddock, we look
dnl for a haddock source tree and point the build system at that instead.
dnl
AC_DEFUN([FPTOOLS_HADDOCK],
[AC_PATH_PROG(HaddockCmd,haddock,)
dnl Darn, I forgot to make Haddock print out its version number when
dnl invoked with -v. We could try generating some HTML and grepping
dnl through that to find the version number, but I think we'll make
dnl do without it for now.
# Haddock is passed to Cabal, so we need a native path
if test "x$HostPlatform" = "xi386-unknown-mingw32" && \
test "${OSTYPE}" != "msys" && \
test "${HaddockCmd}" != ""
then
# Canonicalise to <drive>:/path/to/gcc
HaddockCmd=`cygpath -m ${HaddockCmd}`
AC_MSG_NOTICE([normalized haddock command to $HaddockCmd])
fi
])
dnl
dnl Check for Alex and version. If we're building GHC, then we need
dnl at least Alex version 2.0.1.
...
...
This diff is collapsed.
Click to expand it.
mk/config.mk.in
+
0
−
5
View file @
5c103922
...
...
@@ -1185,11 +1185,6 @@ ALEX_VERSION = @AlexVersion@
#
GHC_ALEX_OPTS
=
-g
#
# Haddock
#
HADDOCK
=
@HaddockCmd@
#
# Options for compiling in different `ways'.
#
...
...
This diff is collapsed.
Click to expand it.
mk/package.mk
+
0
−
7
View file @
5c103922
...
...
@@ -270,13 +270,6 @@ ifneq "$(HS_PPS)" ""
CLEAN_FILES
+=
$(
HS_PPS
)
$(
addsuffix .tmp,
$(
HS_SRCS
))
ifeq
"$(HADDOCK)" ""
html
::
@
echo
Haddock must be installed
in
order to build HTML library documentation.
@
echo
Please
install
Haddock and re-configure.
@
exit
1
endif
html
::
$(HTML_DOC)
extraclean
::
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment