[Pkg-ocaml-maint-commits] [ocaml-visitors] 03/05: debian/rules: install and build targets
Ralf Treinen
treinen at moszumanska.debian.org
Wed May 17 19:54:33 UTC 2017
This is an automated email from the git hooks/post-receive script.
treinen pushed a commit to branch master
in repository ocaml-visitors.
commit 80862f99853a66f31de6d334c2a7ee90484c6d10
Author: Ralf Treinen <treinen at free.fr>
Date: Wed May 17 21:26:04 2017 +0200
debian/rules: install and build targets
---
debian/libppx-visitors-ocaml-doc.docs | 1 +
debian/rules | 15 ++++++++++++++-
2 files changed, 15 insertions(+), 1 deletion(-)
diff --git a/debian/libppx-visitors-ocaml-doc.docs b/debian/libppx-visitors-ocaml-doc.docs
new file mode 100644
index 0000000..aa78ec2
--- /dev/null
+++ b/debian/libppx-visitors-ocaml-doc.docs
@@ -0,0 +1 @@
+doc/main.pdf
diff --git a/debian/rules b/debian/rules
index c3311b5..768c451 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,11 +3,24 @@
%:
dh $@ --with ocaml
+override_dh_auto_build:
+ # do nothing
+
+build-arch:
+ $(MAKE)
+
+build-indep:
+ cd doc && $(MAKE)
+
override_dh_auto_install:
# do nothing
override_dh_install_arch:
- dh_install
+ dh_install -a
+ dh_installdocs -a
+
+override_dh_install_indep:
+ dh_installdocs -i
override_dh_auto_test:
# do nothing
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ocaml-maint/packages/ocaml-visitors.git
More information about the Pkg-ocaml-maint-commits
mailing list