TOP = ..
include $(TOP)/mk/boilerplate.mk
-SUBDIRS = users_guide
+SUBDIRS = users_guide ext-core storage-mgt
PAGES = index.html
-# General makefile for Latex stuff\r
-\r
-ps: core.ps\r
-\r
-core.dvi: core.tex prims.tex\r
- latex core.tex\r
- latex core.tex\r
-\r
-../../compiler/prelude/primops.txt: ../../compiler/prelude/primops.txt.pp\r
- (cd ../../compiler/prelude; gcc -E -I../../includes -traditional -x c primops.txt.pp | /bin/sed -e '/^#/d' > primops.txt)\r
-\r
-prims.tex: ../../compiler/prelude/primops.txt\r
- ../../utils/genprimopcode/genprimopcode --make-latex-doc < ../../compiler/prelude/primops.txt > prims.tex\r
-\r
-\r
-######## General rules\r
-.SUFFIXES:\r
-.PRECIOUS: %.tex %.ps %.bbl\r
-\r
-\r
-%.ps: %.dvi\r
- dvips -f < $< > $@\r
-\r
-clean:\r
- rm -f *.aux *.log\r
-\r
-nuke: clean\r
- rm -f *.dvi *.ps *.bbl *.blg\r
-\r
-# End of file\r
+# 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\r
-\r
-ps: sm.ps rp.ps ldv.ps\r
-\r
-\r
-######## General rules\r
-.SUFFIXES:\r
-.PRECIOUS: %.tex %.ps %.bbl\r
-\r
-#%.dvi: %.tex $(addsuffix .tex, $(basename $(wildcard *.verb *.fig))) $(wildcard *.bib)\r
-%.dvi: %.tex $(addsuffix .tex, $(basename $(wildcard *.verb))) $(wildcard *.bib)\r
- latex $<\r
- @if grep -s "\citation" $*.aux; then bibtex $*; fi\r
- latex $<\r
- latex $<\r
-\r
-%.ps: %.dvi\r
- dvips -f < $< > $@\r
-\r
-clean:\r
- rm -f *.aux *.log\r
-\r
-nuke: clean\r
- rm -f *.dvi *.ps *.bbl *.blg\r
-\r
-# End of file\r
+# 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
#
# 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
#