[Pkg-ocaml-maint-commits] [cppo] 05/05: Update packaging
Stéphane Glondu
glondu at moszumanska.debian.org
Thu Sep 3 12:19:38 UTC 2015
This is an automated email from the git hooks/post-receive script.
glondu pushed a commit to branch master
in repository cppo.
commit 32ea48f68ce8b92ed95297a5d98637e0da51b09f
Author: Stephane Glondu <steph at glondu.net>
Date: Sun Aug 17 14:46:04 2014 +0200
Update packaging
---
debian/cppo.docs | 2 +-
debian/rules | 8 ++++++--
2 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/debian/cppo.docs b/debian/cppo.docs
index e845566..b43bf86 100644
--- a/debian/cppo.docs
+++ b/debian/cppo.docs
@@ -1 +1 @@
-README
+README.md
diff --git a/debian/rules b/debian/rules
index b3e6c7d..ee978b1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,17 +9,21 @@ DESTDIR=$(CURDIR)/debian/cppo
include /usr/share/ocaml/ocamlvars.mk
+export OCAMLFIND_DESTDIR=$(DESTDIR)/$(OCAML_STDLIB_DIR)
+export OCAMLFIND_LDCONF=ignore
+
%:
dh $@ --with ocaml
.PHONY: override_dh_auto_build
override_dh_auto_build:
ifeq ($(OCAML_HAVE_OCAMLOPT),yes)
- $(MAKE) opt
+ $(MAKE) opt ocamlbuild
else
- $(MAKE) all
+ $(MAKE) all ocamlbuild
endif
.PHONY: override_dh_auto_install
override_dh_auto_install:
+ mkdir -p $(OCAMLFIND_DESTDIR)
make install 'BINDIR=$(DESTDIR)/usr/bin'
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ocaml-maint/packages/cppo.git
More information about the Pkg-ocaml-maint-commits
mailing list