DISTDIR = $(BASENAME)-$(MATITA_VERSION)
CLEAN_ON_DIST = \
components/license \
+ matita/TPTP/ \
+ matita/contribs/ \
$(NULL)
EXTRA_DIST = \
matita/AUTHORS \
matita/dist/BUGS \
matita/dist/ChangeLog \
matita/dist/COPYING \
- matita/dist/INSTALL \
- matita/dist/README \
Makefile \
Makefile.defs.in \
$(NULL)
svn export components $(DISTDIR)/components
svn export matita $(DISTDIR)/matita
(cd $(DISTDIR) && find . -name .depend -exec rm \{\} \;)
- (cd $(DISTDIR) && rm -f $(CLEAN_ON_DIST))
+ (cd $(DISTDIR) && find . -name .depend.opt -exec rm \{\} \;)
+ (cd $(DISTDIR) && rm -rf $(CLEAN_ON_DIST))
cp $< $(DISTDIR)/configure
cp -r $(EXTRA_DIST) $(DISTDIR)
cp -r $(EXTRA_DIST_matita) $(DISTDIR)/matita