Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
c1c1e720
Commit
c1c1e720
authored
Jun 05, 2004
by
panne
Browse files
[project @ 2004-06-05 21:55:51 by panne]
"make dvi ps html" in $(TOP) builds *all* documentation now
parent
a80264a5
Changes
4
Hide whitespace changes
Inline
Side-by-side
ghc/docs/Makefile
View file @
c1c1e720
TOP
=
..
include
$(TOP)/mk/boilerplate.mk
SUBDIRS
=
users_guide
SUBDIRS
=
users_guide
ext-core storage-mgt
PAGES
=
index.html
...
...
ghc/docs/ext-core/Makefile
View file @
c1c1e720
# General makefile for Latex stuff
ps
:
core.ps
core.dvi
:
core.tex prims.tex
latex core.tex
latex core.tex
../../compiler/prelude/primops.txt
:
../../compiler/prelude/primops.txt.pp
(
cd
../../compiler/prelude
;
gcc
-E
-I
../../includes
-traditional
-x
c primops.txt.pp | /bin/sed
-e
'/^#/d'
>
primops.txt
)
prims.tex
:
../../compiler/prelude/primops.txt
../../utils/genprimopcode/genprimopcode
--make-latex-doc
< ../../compiler/prelude/primops.txt
>
prims.tex
######## General rules
.SUFFIXES
:
.PRECIOUS
:
%.tex %.ps %.bbl
%.ps
:
%.dvi
dvips
-f
<
$<
>
$@
clean
:
rm
-f
*
.aux
*
.log
nuke
:
clean
rm
-f
*
.dvi
*
.ps
*
.bbl
*
.blg
# End of file
# General makefile for Latex stuff
dvi
:
core.dvi
ps
:
core.ps
html
:
core.dvi
:
core.tex prims.tex
latex core.tex
latex core.tex
../../compiler/prelude/primops.txt
:
../../compiler/prelude/primops.txt.pp
(
cd
../../compiler/prelude
;
gcc
-E
-I
../../includes
-traditional
-x
c primops.txt.pp | /bin/sed
-e
'/^#/d'
>
primops.txt
)
prims.tex
:
../../compiler/prelude/primops.txt
../../utils/genprimopcode/genprimopcode
--make-latex-doc
< ../../compiler/prelude/primops.txt
>
prims.tex
######## General rules
.SUFFIXES
:
.PRECIOUS
:
%.tex %.ps %.bbl
%.ps
:
%.dvi
dvips
-f
<
$<
>
$@
clean
:
$(RM)
*
.aux
*
.log
distclean
:
clean
$(RM)
prims.tex
*
.dvi
*
.ps
*
.bbl
*
.blg
*
.gz
maintainer-clean
:
distclean
# End of file
ghc/docs/storage-mgt/Makefile
View file @
c1c1e720
# General makefile for Latex stuff
ps
:
sm.ps rp.ps ldv.ps
######## General rules
.SUFFIXES
:
.PRECIOUS
:
%.tex %.ps %.bbl
#%.dvi: %.tex $(addsuffix .tex, $(basename $(wildcard *.verb *.fig))) $(wildcard *.bib)
%.dvi
:
%.tex $(addsuffix .tex
,
$(basename $(wildcard *.verb))) $(wildcard *.bib)
latex
$<
@
if
grep
-s
"
\c
itation"
$*
.aux
;
then
bibtex
$*
;
fi
latex
$<
latex
$<
%.ps
:
%.dvi
dvips
-f
<
$<
>
$@
clean
:
rm
-f
*
.aux
*
.log
nuke
:
clean
rm
-f
*
.dvi
*
.ps
*
.bbl
*
.blg
# End of file
# General makefile for Latex stuff
dvi
:
sm.dvi rp.dvi ldv.dvi
ps
:
sm.ps rp.ps ldv.ps
html
:
######## General rules
.SUFFIXES
:
.PRECIOUS
:
%.tex %.ps %.bbl
#%.dvi: %.tex $(addsuffix .tex, $(basename $(wildcard *.verb *.fig))) $(wildcard *.bib)
%.dvi
:
%.tex $(addsuffix .tex
,
$(basename $(wildcard *.verb))) $(wildcard *.bib)
latex
$<
@
if
grep
-s
"
\c
itation"
$*
.aux
;
then
bibtex
$*
;
fi
latex
$<
latex
$<
%.ps
:
%.dvi
dvips
-f
<
$<
>
$@
clean
:
$(RM)
*
.aux
*
.log
distclean
:
clean
$(RM)
*
.dvi
*
.ps
*
.bbl
*
.blg
*
.gz
maintainer-clean
:
distclean
# End of file
mk/config.mk.in
View file @
c1c1e720
...
...
@@ -145,9 +145,9 @@ BootingFromUnregisterisedHc = @BootingFromUnregisterisedHc@
#
# Build the libs first if we're bootstrapping from .hc files.
ifeq
"$(BootingFromHc)" "YES"
AllProjects
=
glafp-utils happy alex haddock libraries hslibs ghc greencard hdirect hood nofib
AllProjects
=
glafp-utils happy alex haddock libraries hslibs ghc greencard hdirect hood nofib
docs
else
AllProjects
=
glafp-utils happy alex haddock ghc libraries hslibs greencard hdirect hood nofib
AllProjects
=
glafp-utils happy alex haddock ghc libraries hslibs greencard hdirect hood nofib
docs
endif
#
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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