From: Stefano Zacchiroli Date: Wed, 3 Jan 2007 19:16:49 +0000 (+0000) Subject: more elegant handling of all/opt building X-Git-Tag: make_still_working~6543 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=d7fee00de3681766de31d8aeb9adaf5f32c59997;p=helm.git more elegant handling of all/opt building --- diff --git a/helm/software/DEVEL/ocaml-http/debian/rules b/helm/software/DEVEL/ocaml-http/debian/rules index b6652614f..51b217617 100755 --- a/helm/software/DEVEL/ocaml-http/debian/rules +++ b/helm/software/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)