From: Stefano Zacchiroli Date: Wed, 3 Jan 2007 19:16:49 +0000 (+0000) Subject: more elegant handling of all/opt building X-Git-Tag: 0.4.95@7852~684 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=dc6495561aa302e7193ec235183f858cebbe5979;p=helm.git more elegant handling of all/opt building --- diff --git a/DEVEL/ocaml-http/debian/rules b/DEVEL/ocaml-http/debian/rules index b6652614f..51b217617 100755 --- a/DEVEL/ocaml-http/debian/rules +++ b/DEVEL/ocaml-http/debian/rules @@ -5,9 +5,9 @@ include /usr/share/cdbs/1/class/ocaml.mk PKGNAME = libhttp-ocaml-dev -DEB_MAKE_INSTALL_TARGET = install DESTDIR=$(CURDIR)/debian/$(PKGNAME)$(OCAML_STDLIB_DIR) - -ifeq ($(HAVE_OCAMLOPT),yes) -build/$(PKGNAME):: - $(MAKE) opt +DEB_MAKE_BUILD_TARGET = all +ifeq ($(OCAML_HAVE_OCAMLOPT),yes) +DEB_MAKE_BUILD_TARGET += opt endif + +DEB_MAKE_INSTALL_TARGET = install DESTDIR=$(CURDIR)/debian/$(PKGNAME)$(OCAML_STDLIB_DIR)