1995-11-07 02:41:34 -08:00
|
|
|
FILES=comp.tex top.tex runtime.tex native.tex lexyacc.tex intf-c.tex \
|
2015-02-26 20:10:10 -08:00
|
|
|
depend.tex profil.tex debugger.tex browser.tex ocamldoc.tex \
|
2016-12-06 08:18:04 -08:00
|
|
|
warnings-help.tex ocamlbuild.tex flambda.tex afl-fuzz.tex \
|
|
|
|
unified-options.tex
|
1995-11-01 07:45:02 -08:00
|
|
|
|
2016-05-05 12:29:47 -07:00
|
|
|
TOPDIR=../../..
|
|
|
|
include $(TOPDIR)/Makefile.tools
|
|
|
|
|
|
|
|
TRANSF=$(OCAMLRUN) ../../tools/transf
|
1995-11-01 07:45:02 -08:00
|
|
|
TEXQUOTE=../../tools/texquote2
|
|
|
|
FORMAT=../../tools/format-intf
|
|
|
|
|
2016-12-06 08:18:04 -08:00
|
|
|
WITH_TRANSF= ocamldoc.tex top.tex intf-c.tex flambda.tex afl-fuzz.tex\
|
|
|
|
lexyacc.tex debugger.tex
|
2016-08-10 12:47:50 -07:00
|
|
|
|
2016-08-06 01:18:02 -07:00
|
|
|
etex-files: $(FILES)
|
2016-08-10 12:47:50 -07:00
|
|
|
|
1999-10-05 09:52:34 -07:00
|
|
|
all: $(FILES)
|
1995-11-01 07:45:02 -08:00
|
|
|
|
2015-06-30 01:05:30 -07:00
|
|
|
clean::
|
1999-10-05 09:52:34 -07:00
|
|
|
rm -f $(FILES)
|
1995-11-01 07:45:02 -08:00
|
|
|
rm -f *~ #*#
|
|
|
|
|
|
|
|
.SUFFIXES:
|
1999-10-05 09:52:34 -07:00
|
|
|
.SUFFIXES: .tex .etex
|
1995-11-01 07:45:02 -08:00
|
|
|
|
|
|
|
.etex.tex:
|
2016-07-15 13:56:48 -07:00
|
|
|
@$(TEXQUOTE) < $*.etex > $*.texquote_error.tex\
|
|
|
|
&& mv $*.texquote_error.tex $*.tex\
|
|
|
|
|| printf "Failure when generating %s\n" $*.tex
|
1995-11-01 07:45:02 -08:00
|
|
|
|
2016-08-10 12:47:50 -07:00
|
|
|
$(WITH_TRANSF):%.tex:%.etex
|
|
|
|
@$(TRANSF) < $*.etex > $*.transf_error.tex \
|
|
|
|
&& mv $*.transf_error.tex $*.transf_gen.tex \
|
|
|
|
&& $(TEXQUOTE) < $*.transf_gen.tex > $*.texquote_error.tex \
|
|
|
|
&& mv $*.texquote_error.tex $*.tex \
|
|
|
|
|| printf "Failure when generating %s\n" $*.tex
|
1997-03-11 07:39:10 -08:00
|
|
|
|
2015-02-26 20:10:10 -08:00
|
|
|
warnings-help.etex: ../warnings-help.etex
|
|
|
|
cp ../warnings-help.etex .
|
2015-06-30 01:05:30 -07:00
|
|
|
|
|
|
|
clean::
|
|
|
|
rm -f warnings-help.etex
|