Commit c1c1e720 authored by panne's avatar panne
Browse files

[project @ 2004-06-05 21:55:51 by panne]

"make dvi ps html" in $(TOP) builds *all* documentation now
parent a80264a5
TOP = ..
include $(TOP)/mk/boilerplate.mk
SUBDIRS = users_guide
SUBDIRS = users_guide ext-core storage-mgt
PAGES = index.html
......
# 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
# 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 "\citation" $*.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 "\citation" $*.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
......@@ -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
#
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment