From: Stefano Zacchiroli Date: Wed, 4 Dec 2002 08:44:27 +0000 (+0000) Subject: - added deb target X-Git-Tag: v0_3_99~187 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=ad41483ccb01f7e3f42d80e8227d9c9ae3319fde;p=helm.git - added deb target --- diff --git a/helm/DEVEL/ocaml-http/Makefile b/helm/DEVEL/ocaml-http/Makefile index fd1f2fc63..a9495db9d 100644 --- a/helm/DEVEL/ocaml-http/Makefile +++ b/helm/DEVEL/ocaml-http/Makefile @@ -74,7 +74,8 @@ docclean: 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)) \ @@ -84,6 +85,10 @@ dist: distclean depend -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) \ @@ -94,5 +99,5 @@ install: META .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