manual: add clean target to tests
parent
eb789250e1
commit
2d9d48cd3c
|
@ -3,10 +3,11 @@ all: tools
|
||||||
${MAKE} tests
|
${MAKE} tests
|
||||||
# cd fpcl; ${MAKE} all
|
# cd fpcl; ${MAKE} all
|
||||||
|
|
||||||
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
cd manual; ${MAKE} clean
|
${MAKE} -C manual clean
|
||||||
cd tools; ${MAKE} clean
|
${MAKE} -C tools clean
|
||||||
# cd fpcl; ${MAKE} clean
|
${MAKE} -C tests clean
|
||||||
|
|
||||||
release:
|
release:
|
||||||
cd manual; ${MAKE} release
|
cd manual; ${MAKE} release
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
/cross-reference-checker
|
|
@ -2,19 +2,26 @@ TOPDIR=$(abspath ../..)
|
||||||
include $(TOPDIR)/Makefile.tools
|
include $(TOPDIR)/Makefile.tools
|
||||||
MANUAL=$(TOPDIR)/manual/manual
|
MANUAL=$(TOPDIR)/manual/manual
|
||||||
|
|
||||||
.PHONY: all
|
|
||||||
all: check-cross-references check-stdlib
|
all: check-cross-references check-stdlib
|
||||||
|
|
||||||
cross-reference-checker: cross_reference_checker.ml
|
|
||||||
$(OCAMLC) $(TOPDIR)/compilerlibs/ocamlcommon.cma -I $(TOPDIR)/parsing \
|
|
||||||
-I $(TOPDIR)/driver \
|
|
||||||
cross_reference_checker.ml -o cross-reference-checker
|
|
||||||
|
|
||||||
|
cross-reference-checker: cross_reference_checker.ml
|
||||||
|
$(OCAMLC) $(TOPDIR)/compilerlibs/ocamlcommon.cma \
|
||||||
|
-I $(TOPDIR)/parsing -I $(TOPDIR)/driver \
|
||||||
|
$< -o $@
|
||||||
|
|
||||||
|
.PHONY: check-cross-references
|
||||||
check-cross-references: cross-reference-checker
|
check-cross-references: cross-reference-checker
|
||||||
$(OCAMLRUN) ./cross-reference-checker \
|
$(OCAMLRUN) ./cross-reference-checker \
|
||||||
-auxfile $(MANUAL)/texstuff/manual.aux \
|
-auxfile $(MANUAL)/texstuff/manual.aux \
|
||||||
$(TOPDIR)/utils/warnings.ml \
|
$(TOPDIR)/utils/warnings.ml \
|
||||||
$(TOPDIR)/bytecomp/translmod.ml
|
$(TOPDIR)/bytecomp/translmod.ml
|
||||||
|
|
||||||
|
.PHONY: check-stdlib
|
||||||
check-stdlib:
|
check-stdlib:
|
||||||
./check-stdlib-modules $(TOPDIR)
|
./check-stdlib-modules $(TOPDIR)
|
||||||
|
|
||||||
|
|
||||||
|
.PHONY: clean
|
||||||
|
clean:
|
||||||
|
rm -f *.cm? *.cmx? cross-reference-checker
|
||||||
|
|
Loading…
Reference in New Issue