dist: distclean depend
mkdir $(DISTDIR)
cp -r \
- $(patsubst %,%.ml,$(MODULES)) $(patsubst %,%.mli,$(MODULES)) \
- $(EXTRA_DIST) examples/ debian/ \
+ $(patsubst %, %.ml, $(MODULES)) \
+ $(patsubst %, %.mli, $(MODULES) $(THREADED_SRV)) \
+ mt/ non_mt/ $(EXTRA_DIST) examples/ debian/ \
$(DISTDIR)/
-find $(DISTDIR)/ -type d -name CVS -exec rm -rf {} \;
-find $(DISTDIR)/ -type f -name ".cvs*" -exec rm -f {} \;
rm -rf $(DISTDIR)/
install: META
$(OCAMLFIND) install -destdir $(DESTDIR) $(PKGNAME) \
- META $(patsubst %,%.mli,$(PUBLIC_MODULES)) \
- $(patsubst %,%.cmi,$(PUBLIC_MODULES)) http.cm{,x}a http.a
+ META $(patsubst %, %.mli, $(PUBLIC_MODULES)) \
+ $(patsubst %, %.cmi, $(PUBLIC_MODULES)) http.cm{,x}a http.a
.PHONY: \
- all opt world examples examples.opt depend clean distclean dist \
+ all opt world all_non_mt all_mt opt_non_mt opt_mt \
+ examples examples.opt depend clean distclean dist \
install meta doc