PROGRAMS_OPT = $(patsubst %,%.opt,$(PROGRAMS_BYTE))
.PHONY: all
-all: matita.conf.xml $(PROGRAMS) coq.moo
-
-matita.conf.xml: matita.conf.xml.sample
- @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
- ./configure
- @echo
- @echo "WARNING: The configuration sample file has changed!"
- @echo
-
-coq.moo: library/legacy/coq.ma matitac
- ./matitac $(MATITA_FLAGS) $<
-coq.moo.opt: library/legacy/coq.ma matitac.opt
- ./matitac.opt $(MATITA_FLAGS) $<
+all: $(PROGRAMS)
+# all: matita.conf.xml $(PROGRAMS) coq.moo
+
+# matita.conf.xml: matita.conf.xml.sample
+# @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
+
+# coq.moo: library/legacy/coq.ma matitac
+# ./matitac $(MATITA_FLAGS) $<
+# coq.moo.opt: library/legacy/coq.ma matitac.opt
+# ./matitac.opt $(MATITA_FLAGS) $<
ifeq ($(HAVE_OCAMLOPT),yes)
# {{{ Distribution stuff
-ifeq ($(HAVE_OCAMLOPT),yes)
+ifeq ($(wildcard matitac.opt),matitac.opt)
BEST=opt
else
BEST=all
stdlib:
MATITA_RT_BASE_DIR=`pwd` \
- $(MAKE) MATITA_FLAGS="-system" -C library/ $(BEST)
+ MATITA_FLAGS="-system -conffile `pwd`/matita.conf.xml.build" \
+ ./matitamake -init build_stdlib
+
+# MATITA_RT_BASE_DIR=`pwd` \
+ $(MAKE) MATITA_FLAGS="-system -conffile `pwd`/matita.conf.xml.build" -C library/ $(BEST)
DEST = @RT_BASE_DIR@
INSTALL_STUFF = \
distclean: clean
$(MAKE) -C dist/ clean
rm -f matitaGeneratedGui.ml matitaGeneratedGui.mli
- rm -f config.log config.status Makefile buildTimeConf.ml
+ rm -f buildTimeConf.ml
rm -f matita.glade.bak matita.gladep.bak
- rm -rf autom4te.cache/
- rm -f configure matita.conf.xml.sample
+ rm -f matita.conf.xml.sample
%.upx: %
cp $< $@