Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
jberryman
GHC
Commits
6f0b6600
Commit
6f0b6600
authored
Jun 24, 2002
by
simonmar
Browse files
[project @ 2002-06-24 14:38:06 by simonmar]
dump and read interfaces for Haddock
parent
46031a35
Changes
1
Hide whitespace changes
Inline
Side-by-side
mk/package.mk
View file @
6f0b6600
# -----------------------------------------------------------------------------
# $Id: package.mk,v 1.1
1
2002/06/2
0
1
6:03:19
simonmar Exp $
# $Id: package.mk,v 1.1
2
2002/06/2
4
1
4:38:06
simonmar Exp $
ifneq
"$(PACKAGE)" ""
...
...
@@ -145,7 +145,10 @@ html :: $(HTML_DOC)
$(HTML_DOC)
:
$(HS_PPS) $(HADDOCK_INPLACE)
@
$(INSTALL_DIR)
$(HTML_DIR)
$(HADDOCK_INPLACE)
$(HADDOCK_OPTS)
-h
-o
$(HTML_DIR)
$(HS_PPS)
$(HADDOCK_INPLACE)
$(HADDOCK_OPTS)
-h
-o
$(HTML_DIR)
$(HS_PPS)
\
--dump-interface
=
$(PACKAGE)
.haddock
\
$(
foreach
pkg,
$(PACKAGE_DEPS)
,
\
--read-interface
=
../
$(pkg)
,../
$(pkg)
/
$(pkg)
.haddock
)
%.raw-hs
:
%.lhs
$(GHC)
$(HC_OPTS)
-D__HADDOCK__
-E
-cpp
$<
-o
$<
.tmp
&&
sed
-e
's/^#.*//'
<
$<
.tmp
>
$@
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment