[Pkg-octave-commit] [octave-odepkg] 07/09: d/rules: support "nodoc" flag of DEB_BUILD_OPTIONS.

Sébastien Villemot sebastien at debian.org
Tue Jul 4 09:34:35 UTC 2017


This is an automated email from the git hooks/post-receive script.

sebastien pushed a commit to branch master
in repository octave-odepkg.

commit fd02a660d5704e3416c50fca68dae1aa1fdfce88
Author: Sébastien Villemot <sebastien at debian.org>
Date:   Tue Jul 4 11:22:52 2017 +0200

    d/rules: support "nodoc" flag of DEB_BUILD_OPTIONS.
---
 debian/rules | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/debian/rules b/debian/rules
index af8d9f1..38479e2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,8 +5,10 @@ include /usr/share/cdbs/1/class/octave-pkg.mk
 
 pkg = octave-odepkg
 
+ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
 build/$(pkg)::
 	make -C doc TEXI2PDF=texi2pdf
+endif
 
 clean::
 	make -C doc clean

-- 
Alioth's /home/groups/pkg-octave/bin/git-commit-notice on /srv/git.debian.org/git/pkg-octave/octave-odepkg.git



More information about the Pkg-octave-commit mailing list