distclean: clean docclean
$(MAKE) -C examples/ distclean
-rm -f META
-dist: distclean depend
+dist: distreal distrm
+distreal: distclean depend
mkdir $(DISTDIR)
cp -r \
$(patsubst %, %.ml, $(MODULES)) \
-find $(DISTDIR)/ -type d -name CVS -exec rm -rf {} \;
-find $(DISTDIR)/ -type f -name ".cvs*" -exec rm -f {} \;
tar cvzf $(DISTDIR).tar.gz $(DISTDIR)/
+distrm:
+ rm -rf $(DISTDIR)/
+deb: distreal
+ (cd $(DISTDIR)/ && debuild)
rm -rf $(DISTDIR)/
install: META
$(OCAMLFIND) install -destdir $(DESTDIR) $(PKGNAME) \
.PHONY: \
all opt world all_non_mt all_mt opt_non_mt opt_mt \
examples examples.opt depend clean distclean dist \
- install meta doc
+ install meta doc deb distreal distrm