]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/matita/Makefile.in
compilation of needed modules now outputs to the log window
[helm.git] / helm / matita / Makefile.in
index a3a6fe77dc617050a913f1685587a9e5d4299c8e..da10c563abe1042ec09f14833b6ea941cfbd619d 100644 (file)
@@ -59,13 +59,17 @@ MAKECMOS = $(CCMOS) matitamakeLib.cmo
 all: matita.conf.xml matita matitac matitatop cicbrowser matitadep matitaclean matitamake
 
 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
+       @if diff matita.conf.xml.sample matita.conf.xml 1>/dev/null 2>/dev/null; then\
+               touch matita.conf.xml;\
+       else\
+               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;\
+       fi
 
 matita.conf.xml.sample: matita.conf.xml.sample.in
        autoconf