ocaml
Version:
OCaml compiler packaged for esy
30 lines (21 loc) • 718 B
Plain Text
ROOTDIR = ../../..
include $(ROOTDIR)/Makefile.common
TEXQUOTE = $(ROOTDIR)/runtime/ocamlrun ../../tools/texquote2
LD_PATH = $(ROOTDIR)/otherlibs/str $(ROOTDIR)/otherlibs/unix
CAMLLATEX = $(OCAMLRUN) $(addprefix -I ,$(LD_PATH)) \
$(ROOTDIR)/tools/ocamltex -repo-root $(ROOTDIR) -n 80 -v false
FILES = core.tex builtin.tex stdlib-blurb.tex compilerlibs.tex \
libunix.tex libstr.tex old.tex libthreads.tex libdynlink.tex \
libruntime_events.tex
etex-files: $(FILES)
all: etex-files
%.gen.tex: %.etex
$(CAMLLATEX) $< -o $@
%.tex: %.gen.tex
$(TEXQUOTE) < $< > $*.texquote_error.tex
mv $*.texquote_error.tex $@
clean:
rm -f *.tex ocamldoc.out ocamldoc.sty
distclean: clean