[starlink-ast] 01/01: Build documention only at -indep
Ole Streicher
olebole-guest at moszumanska.debian.org
Tue Jan 7 16:16:46 UTC 2014
This is an automated email from the git hooks/post-receive script.
olebole-guest pushed a commit to branch debian
in repository starlink-ast.
commit 19f70f32294e10cf322f1a18b85cff260f7123fe
Author: Ole Streicher <debian at liska.ath.cx>
Date: Tue Jan 7 17:17:05 2014 +0100
Build documention only at -indep
---
debian/control | 8 ++++----
debian/patches/use_std_automake.patch | 2 +-
debian/rules | 3 +++
3 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/debian/control b/debian/control
index f14d7b4..7e1338e 100644
--- a/debian/control
+++ b/debian/control
@@ -5,11 +5,11 @@ Uploaders: Ole Streicher <debian at liska.ath.cx>
Build-Depends: autotools-dev,
debhelper (>= 9),
dh-autoreconf,
- ghostscript,
- latex2html,
liberfa-dev,
- libstarlink-pal-dev,
- perl (>= 5.18.1-5),
+ libstarlink-pal-dev
+Build-Depends-Indep: ghostscript,
+ latex2html,
+ perl (>= 5.18.1-5),
texlive,
texlive-font-utils
Standards-Version: 3.9.5
diff --git a/debian/patches/use_std_automake.patch b/debian/patches/use_std_automake.patch
index 6a1d3c8..6cf8d37 100644
--- a/debian/patches/use_std_automake.patch
+++ b/debian/patches/use_std_automake.patch
@@ -42,7 +42,7 @@ Description: Do not depend on the starlink's automake, but use their macro
-stardocs_DATA = @STAR_LATEX_DOCUMENTATION@
-dist_starnews_DATA = ast.news
-dist_pkgdata_DATA = LICENCE
-+dist_pkgdata_DATA = @STARDOCS at .pdf @STARDOCS@/index.html
++doc: @STARDOCS at .pdf @STARDOCS@/index.html
+.tex.pdf:
+ pdflatex $^ && pdflatex $^
+
diff --git a/debian/rules b/debian/rules
index eadcdb0..3498134 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,3 +16,6 @@ override_dh_autoreconf:
override_dh_auto_configure:
dh_auto_configure -- --with-external_pal
+override_dh_installdocs-indep:
+ make doc
+ dh_installdocs
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/starlink-ast.git
More information about the debian-science-commits
mailing list