This is an automated email from the git hooks/post-receive script. glondu pushed a commit to branch master in repository ocurl.
commit d1195f7f4f1a5f1b1432f431c7e64f26bce92d6c Author: Stephane Glondu <st...@glondu.net> Date: Tue Feb 23 10:55:00 2016 +0100 Rewrite debian/rules with dh --- debian/control | 1 - debian/rules | 30 +++++++++++++++++++----------- 2 files changed, 19 insertions(+), 12 deletions(-) diff --git a/debian/control b/debian/control index 1ad9e11..0cc013a 100644 --- a/debian/control +++ b/debian/control @@ -14,7 +14,6 @@ Build-Depends: ocaml-nox (>= 3.10.1), ocaml-findlib (>= 1.2.5), libkrb5-dev, - cdbs, dh-ocaml (>= 0.9) Standards-Version: 3.9.2 Vcs-Git: https://anonscm.debian.org/git/pkg-ocaml-maint/packages/ocurl.git diff --git a/debian/rules b/debian/rules index 239efa5..f43a650 100755 --- a/debian/rules +++ b/debian/rules @@ -1,16 +1,24 @@ #!/usr/bin/make -f +# -*- makefile -*- -include /usr/share/cdbs/1/rules/debhelper.mk -include /usr/share/cdbs/1/class/autotools.mk -include /usr/share/cdbs/1/rules/ocaml.mk +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 -PKGNAME = libcurl-ocaml-dev +DESTDIR=$(CURDIR)/debian/tmp -DESTDIR := $(CURDIR)/debian/tmp$(OCAML_STDLIB_DIR) -DEB_MAKE_BUILD_TARGET = all NO_CUSTOM=y -DEB_MAKE_CLEAN_TARGET = clean -DEB_MAKE_INSTALL_TARGET = install DESTDIR=$(DESTDIR) -OCAML_OCAMLDOC_PACKAGES= $(OCAML_LIBDEV_PACKAGES) +include /usr/share/ocaml/ocamlvars.mk -build/$(PKGNAME):: - mkdir -p $(DESTDIR) +export OCAMLFIND_DESTDIR=$(DESTDIR)/$(OCAML_STDLIB_DIR) +export OCAMLFIND_LDCONF=ignore + +%: + dh $@ --with ocaml + +.PHONY: override_dh_auto_install +override_dh_auto_install: + mkdir -p '$(OCAMLFIND_DESTDIR)' + dh_auto_install + +.PHONY: override_dh_install +override_dh_install: + dh_install --fail-missing -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ocaml-maint/packages/ocurl.git _______________________________________________ Pkg-ocaml-maint-commits mailing list Pkg-ocaml-maint-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ocaml-maint-commits