[Pkg-octave-commit] [octave-communications] 05/06: d/rules: add support for "nodoc" flag of DEB_BUILD_OPTIONS.
Sébastien Villemot
sebastien at debian.org
Mon Jul 3 13:49:55 UTC 2017
This is an automated email from the git hooks/post-receive script.
sebastien pushed a commit to branch master
in repository octave-communications.
commit 6357cf5e28be3a2281266f2a8f85a4db01aec738
Author: Sébastien Villemot <sebastien at debian.org>
Date: Mon Jul 3 15:41:18 2017 +0200
d/rules: add support for "nodoc" flag of DEB_BUILD_OPTIONS.
---
debian/rules | 2 ++
1 file changed, 2 insertions(+)
diff --git a/debian/rules b/debian/rules
index 7a5c2b3..f0408a0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,12 +11,14 @@ indepshr = $(CURDIR)/debian/octave-$(pkg)-common/usr/share
DEB_DH_INSTALL_SOURCEDIR = debian/octave-$(pkg)
+ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
build/octave-$(pkg)::
for i in awgn.pdf eyediagram.pdf scatterplot.pdf ; do \
make -C doc $$i ; \
sed -i -e 's|/tmp/oct-.......eps|/tmp/oct.eps|' doc/$$i ; \
done
make -C doc comms.pdf comms.info
+endif
install/octave-$(pkg)-common:: install/octave-$(pkg)
--
Alioth's /home/groups/pkg-octave/bin/git-commit-notice on /srv/git.debian.org/git/pkg-octave/octave-communications.git
More information about the Pkg-octave-commit
mailing list