]> 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 009a6cec13bc6eb1d2a3b9b8c5cf2eb320d7b735..4c3d9f305920bf1e76b2e2c3968b27e6d86951e9 100644 (file)
@@ -54,7 +54,23 @@ CCMOS =                              \
 CLEANCMOS = $(CCMOS)
 
 
-all: matita matitac matitatop cicbrowser matitadep matitaclean
+all: matita.conf.xml matita matitac matitatop cicbrowser matitadep matitaclean
+
+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))
@@ -127,6 +143,7 @@ distclean: clean
        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)