]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/matita/Makefile.in
matita.conf.xml.sample is now generated
[helm.git] / helm / matita / Makefile.in
index d1eff032ae738fb4610321f9b355524e17ce2b33..4c3d9f305920bf1e76b2e2c3968b27e6d86951e9 100644 (file)
@@ -32,6 +32,7 @@ CMOS =                                \
        matitacleanLib.cmo \
        matitaDisambiguator.cmo \
        matitaEngine.cmo        \
+       matitacLib.cmo \
        matitaScript.cmo        \
        matitaGeneratedGui.cmo  \
        matitaGtkMisc.cmo       \
@@ -48,14 +49,28 @@ CCMOS =                             \
        matitaSync.cmo          \
        matitaDisambiguator.cmo \
        matitaEngine.cmo        \
+       matitacleanLib.cmo      \
        matitacLib.cmo
-CLEANCMOS = $(CCMOS) matitacleanLib.cmo
+CLEANCMOS = $(CCMOS)
 
 
-all: matita matitac matitatop cicbrowser matitadep matitaclean
+all: matita.conf.xml matita matitac matitatop cicbrowser matitadep matitaclean
 
-updater: $(LIB_DEPS)
-       $(OCAMLC) $(PKGS) -linkpkg -o $@ updater.ml
+matita.conf.xml: matita.conf.xml.sample
+       @echo
+       @echo "matita.conf.xml.sample is newer than matita.conf.xml"
+       @echo
+       @echo "PLEASE update your configuration file!"
+       @echo "(copying matita.conf.xml.sample should work)"
+       @echo
+       @false
+
+matita.conf.xml.sample: matita.conf.xml.sample.in
+       autoconf
+       ./configure
+       @echo 
+       @echo "WARNING: The configuration sample file has changed!"
+       @echo 
 
 ifeq ($(HAVE_OCAMLOPT),yes)
 CMXS = $(patsubst %.cmo,%.cmx,$(CMOS))
@@ -121,12 +136,14 @@ clean:
                matita matita.opt matitac matitac.opt   \
                cicbrowser cicbrowser.opt       \
                matitadep matitadep.opt \
-               matitaclean matitaclean.opt
+               matitaclean matitaclean.opt \
+               matitatop matitatop.opt
 distclean: clean
        rm -f matitaGeneratedGui.ml matitaGeneratedGui.mli
        rm -f config.log config.status Makefile buildTimeConf.ml
        rm -f matita.glade.bak matita.gladep.bak
        rm -rf autom4te.cache/
+       rm -f configure matita.conf.xml.sample
 
 tests: matitac matitadep matitaclean
        @(cd library && make clean all)