From ad41483ccb01f7e3f42d80e8227d9c9ae3319fde Mon Sep 17 00:00:00 2001 From: Stefano Zacchiroli Date: Wed, 4 Dec 2002 08:44:27 +0000 Subject: [PATCH] - added deb target --- helm/DEVEL/ocaml-http/Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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 -- 2.39.2