6 all: $(foreach d,$(SUBDIRS),all.$(d))
7 opt: $(foreach d,$(SUBDIRS),opt.$(d))
8 clean: $(foreach d,$(SUBDIRS),clean.$(d))
9 distclean: $(foreach d,$(SUBDIRS),distclean.$(d))
18 $(MAKE) -C $* distclean
22 $(MAKE) -C $* uninstall
26 DISTDIR = $(BASENAME)-$(MATITA_VERSION)
41 dist: autotools export mktarball
42 distcheck: dist extract build
50 svn export ocaml $(DISTDIR)/ocaml
51 svn export matita $(DISTDIR)/matita
52 (cd $(DISTDIR) && rm -f $(CLEAN_ON_DIST))
53 mv $(DISTDIR)/ocaml $(DISTDIR)/libs
54 cp -r $(EXTRA_DIST) $(DISTDIR)
57 tar cvzf $(DISTDIR).tar.gz $(DISTDIR)
59 .PHONY: dist export mktarball distcheck extract build autotools
60 .PHONY: all opt clean distclean