LIBRARIES = $(shell ocamlfind query -recursive -predicates "byte $(PREDICATES)" -format "%d/%a" $(REQUIRES))
LIBRARIES_OPT = $(shell ocamlfind query -recursive -predicates "native $(PREDICATES)" -format "%d/%a" $(REQUIRES))
-all: gTopLevel
-opt: gTopLevel.opt
+all: styles gTopLevel
+opt: styles gTopLevel.opt
DEPOBJS = \
xml2Gdome.ml xml2Gdome.mli proofEngine.ml proofEngine.mli \
termEditor.cmo texTermEditor.cmo applyStylesheets.cmo termViewer.cmo \
invokeTactics.cmo hbugs.cmo gTopLevel.cmo
+styles:
+ @echo "***********************************************************************"
+ @if [ -d stylesheets -a -d meta_stylesheets ] ; then echo -e "* stylesheets and metastylesheets found: *\\n* I will create the request hyperlinks in styles *" ; else echo -e "* stylesheets or meta_stylesheets not found: *\\n* you should check-out the two directories from the MoWGLI repository *" ; exit -1 ; fi
+ @echo "***********************************************************************"
+ mkdir styles
+ (cd styles && for i in ../stylesheets/*.xsl ; do ln -s $$i; done)
+ (cd styles && for i in ../stylesheets/generated/*.xsl ; do ln -s $$i; done)
+ (cd styles && rm rootcontent.xsl && ln -s ../rootcontent.xsl)
+
depend:
$(OCAMLDEP) $(DEPOBJS) > .depend