[Pkg-xen-devel] [PATCH 6/7] Create 2 ocaml packages, libxen-4.1-ocaml and libxen-4.1-ocaml-dev.
Ian Campbell
ijc at hellion.org.uk
Fri Nov 25 23:23:14 UTC 2011
On Fri, 2011-11-25 at 20:49 +0000, Jon Ludlam wrote:
> @@ -14,6 +14,11 @@ VERSION_BINNMU := $(shell echo "$(VERSION)" | sed
> -ne 's,.*\+b\(.*\)$$,\1,p')
> stamp = [ -d $(dir $@) ] || mkdir $(dir $@); touch $@
>
> include debian/rules.defs
> +ifneq
> ($(wildcard /usr/share/ocaml/ocamlvars.mk),/usr/share/ocaml/ocamlvars.mk)
> + $(error /usr/share/ocaml/ocamlvars.mk not found - please install
> dh-ocaml)
> +else
> + include /usr/share/ocaml/ocamlvars.mk
> +endif
>
> setup: debian/control $(STAMPS_DIR)/setup-base
Since you no longer need this for the pre-build generation of the
control files you can rely on the build-deps to ensure this is provided
and hence don't need the magic bits, just the include will do.
Having said that since all the uses of the variables are now in
rules.real do you even need this at all?
Ian.
--
Ian Campbell
Democracy means simply the bludgeoning of the people by the people for
the people.
-- Oscar Wilde
More information about the Pkg-xen-devel
mailing list