X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fmatita%2FMakefile.in;h=3d59960c0e68c37c58f0d8e8a9707078e289859c;hb=92500502aa145675b685cf9d81803c0bdcb2d6b8;hp=a3a6fe77dc617050a913f1685587a9e5d4299c8e;hpb=619a3a478a4f6b0a50782b620009f6a141c30a53;p=helm.git diff --git a/helm/matita/Makefile.in b/helm/matita/Makefile.in index a3a6fe77d..3d59960c0 100644 --- a/helm/matita/Makefile.in +++ b/helm/matita/Makefile.in @@ -49,8 +49,8 @@ CCMOS = \ matitaDb.cmo \ matitaSync.cmo \ matitaDisambiguator.cmo \ - matitaEngine.cmo \ matitacleanLib.cmo \ + matitaEngine.cmo \ matitacLib.cmo CLEANCMOS = $(CCMOS) MAKECMOS = $(CCMOS) matitamakeLib.cmo @@ -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 @@ -156,12 +160,15 @@ distclean: clean rm -f configure matita.conf.xml.sample tests: matitac matitadep matitaclean - @(cd library && make clean all) - @(cd tests && make clean all) + @(cd library && make MATITAC="- ../scripts/do_tests.sh $(DO_TESTS_OPTS) ../matitac ../matitaclean /dev/null" clean all) + @(cd tests && make MATITAC="- ../scripts/do_tests.sh $(DO_TESTS_OPTS) ../matitac ../matitaclean /dev/null" clean all) tests.opt: matitac.opt matitadep.opt matitaclean.opt - @(cd library && make clean.opt opt) - @(cd tests && make clean.opt opt) -.PHONY: tests tests.opt + @(cd library && make MATITAC="- ../scripts/do_tests.sh $(DO_TESTS_OPTS) ../matitac.opt ../matitaclean.opt /dev/null" clean.opt opt) + @(cd tests && make MATITAC="- ../scripts/do_tests.sh $(DO_TESTS_OPTS) ../matitac.opt ../matitaclean.opt /dev/null" clean.opt opt) +cleantests: matitaclean + @(cd library && make clean) + @(cd tests && make clean) +.PHONY: tests tests.opt cleantests tags: TAGS .PHONY: TAGS