[Pkg-octave-commit] [octave-odepkg] 05/09: Build and install HTML and PDF doc.

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 70ec252cba6bfcbb43ee1e9575f1a12297def0e3
Author: Sébastien Villemot <sebastien at debian.org>
Date:   Tue Jul 4 11:20:43 2017 +0200

    Build and install HTML and PDF doc.
---
 debian/control            | 1 +
 debian/octave-odepkg.docs | 2 ++
 debian/rules              | 6 +++++-
 3 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index 0b061b5..b3c816c 100644
--- a/debian/control
+++ b/debian/control
@@ -6,6 +6,7 @@ Priority: optional
 Build-Depends: debhelper (>= 10),
                cdbs,
                octave-pkg-dev,
+               texinfo,
                texlive
 Standards-Version: 3.9.8
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-octave/octave-odepkg.git
diff --git a/debian/octave-odepkg.docs b/debian/octave-odepkg.docs
new file mode 100644
index 0000000..7bcb464
--- /dev/null
+++ b/debian/octave-odepkg.docs
@@ -0,0 +1,2 @@
+doc/odepkg.pdf
+doc/odepkg.html
diff --git a/debian/rules b/debian/rules
index 1c0b251..af8d9f1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,4 +6,8 @@ include /usr/share/cdbs/1/class/octave-pkg.mk
 pkg = octave-odepkg
 
 build/$(pkg)::
-	( cd doc ; make odepkg.info )
+	make -C doc TEXI2PDF=texi2pdf
+
+clean::
+	make -C doc clean
+	rm -f  doc/odepkg.aux doc/odepkg.cp doc/odepkg.cps doc/odepkg.fn doc/odepkg.fns doc/odepkg.toc

-- 
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