avoid depending on "make opt"; set correct dependency on VERSION
git-svn-id: http://caml.inria.fr/svn/ocamldoc/trunk@12141 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02master
parent
e13358f454
commit
7fd09ee1bb
|
@ -5,7 +5,7 @@ TEXINPUTS=.:..:../refman:../library:../cmds:../tutorials:../../styles:
|
|||
TEXFONTS=../../styles:
|
||||
RELEASE=$$HOME/release/$${RELEASENAME}
|
||||
SRC=../../release
|
||||
OCAMLDOC=$(SRC)/ocamldoc/ocamldoc.opt -hide Pervasives
|
||||
OCAMLDOC=$(SRC)/ocamldoc/ocamldoc -hide Pervasives
|
||||
HEVEA=hevea
|
||||
HACHA=hacha
|
||||
INFO=-fix -exec xxdate.exe -info -w 79
|
||||
|
@ -117,8 +117,8 @@ release:
|
|||
.etex.tex:
|
||||
../tools/texquote2 < $*.etex > $*.tex
|
||||
|
||||
version.tex: $(SRC)/stdlib/sys.ml
|
||||
sed -n -e 's/^\([0-9]*\.[0-9]*\).*$$/\\def\\ocamlversion{\1}/p' $(SRC)/VERSION > version.tex
|
||||
version.tex: $(SRC)/VERSION
|
||||
sed -n -e '1s/^\([0-9]*\.[0-9]*\).*$$/\\def\\ocamlversion{\1}/p' $(SRC)/VERSION > version.tex
|
||||
|
||||
warnings.tex: $(SRC)/utils/warnings.ml $(SRC)/ocamlc
|
||||
$(SRC)/boot/ocamlrun $(SRC)/ocamlc -warn-help | sed -e 's/^ *\([0-9A-Z][0-9]*\)\(.*\)/\\item[\1] \2/' > warnings.tex
|
||||
|
|
|
@ -44,12 +44,12 @@ CSLDIR=../../../release
|
|||
|
||||
VPATH=.:$(CSLDIR)/stdlib:$(CSLDIR)/otherlibs/unix:$(CSLDIR)/otherlibs/str:$(CSLDIR)/otherlibs/num:$(CSLDIR)/otherlibs/graph:$(CSLDIR)/otherlibs/threads:$(CSLDIR)/otherlibs/dynlink:$(CSLDIR)/otherlibs/bigarray
|
||||
|
||||
all: libs
|
||||
all: libs
|
||||
|
||||
libs: $(FILES)
|
||||
|
||||
$(INTF): $(MLIS)
|
||||
$(CSLDIR)/ocamldoc/ocamldoc.opt -latex -I $(CSLDIR)/stdlib \
|
||||
$(CSLDIR)/ocamldoc/ocamldoc -latex -I $(CSLDIR)/stdlib \
|
||||
-I $(CSLDIR)/otherlibs/bigarray \
|
||||
-I $(CSLDIR)/otherlibs/dynlink \
|
||||
-I $(CSLDIR)/otherlibs/graph \
|
||||
|
|
Loading…
Reference in New Issue