# - set variable MLIFILES so that it can be used in custom targets to # build documentation and dependencies for .mli files # - remove useless ' -I . .../plugins/ ' lines so that we can read something in the compilation log # - rename the rule for Makefile auto-regeneration, and replace it with an appropriate command # - patch the rule for cleaning doc # - include the .depend custom target, to take .mli dependencies into account ( coq_makefile -no-install -opt MLIFILES = '$(MLFILES:.ml=.mli)' $(cat files.txt) -f magic.txt \ | sed 's|.*/plugins/.*||g;s|Makefile:|\.dummy:|g;s|rm -f doc|rm -rf doc|g' cat < Makefile # TOTHINK: coq_makefile est bête, [make all] compile systématiquement # les .cmxs associés à chaque module, alors que ça ne sert à rien, # seul aac_rewrite.cmxs compte # problemes lorsqu'un module porte un meme nom qu'un module predefini # (matching par exemple), prendre garde si ce probleme s'etend a la # confusion module/nom de librairie