[Debian-astro-commits] [starlink-pal] 01/02: Build documentation only in -indep

Ole Streicher olebole at moszumanska.debian.org
Wed Jun 21 15:25:02 UTC 2017


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

olebole pushed a commit to branch master
in repository starlink-pal.

commit 5c0e39db80d2a5594730518829e7d1448958e9f4
Author: Ole Streicher <olebole at debian.org>
Date:   Wed Jun 21 08:32:11 2017 +0200

    Build documentation only in -indep
    
    Closes: #865388
---
 debian/patches/reproducible_build.patch | 4 ++--
 debian/patches/use_std_automake.patch   | 4 ++--
 debian/rules                            | 4 +++-
 3 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/debian/patches/reproducible_build.patch b/debian/patches/reproducible_build.patch
index c86950d..c3e70be 100644
--- a/debian/patches/reproducible_build.patch
+++ b/debian/patches/reproducible_build.patch
@@ -7,10 +7,10 @@ Subject: Remove timestamp from latex2html
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/Makefile.am b/Makefile.am
-index b652a90..ea2cee7 100644
+index 136b577..fffda7d 100644
 --- a/Makefile.am
 +++ b/Makefile.am
-@@ -126,7 +126,7 @@ dist_pkgdata_DATA =  @STARDOCS at .pdf @STARDOCS@/index.html
+@@ -126,7 +126,7 @@ doc: @STARDOCS at .pdf @STARDOCS@/index.html
  	pdflatex $^ && pdflatex $^
  
  @STARDOCS@/index.html: @STARDOCS at .tex
diff --git a/debian/patches/use_std_automake.patch b/debian/patches/use_std_automake.patch
index b60cf29..2aea3b4 100644
--- a/debian/patches/use_std_automake.patch
+++ b/debian/patches/use_std_automake.patch
@@ -11,7 +11,7 @@ Subject: Do not depend on the starlink's automake,
  create mode 100644 acinclude.m4
 
 diff --git a/Makefile.am b/Makefile.am
-index 54882db..b652a90 100644
+index 54882db..136b577 100644
 --- a/Makefile.am
 +++ b/Makefile.am
 @@ -11,10 +11,9 @@ libstarlink_pal_la_CPPFLAGS = $(ERFA_CPPFLAGS)
@@ -31,7 +31,7 @@ index 54882db..b652a90 100644
  pal1Atmt.c
  
 -stardocs_DATA = @STAR_LATEX_DOCUMENTATION@
-+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 c955143..e25853f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,4 +13,6 @@ override_dh_autoreconf:
 override_dh_auto_configure:
 	dh_auto_configure -- --without-cnf --with-pthreads
 
-
+override_dh_installdocs-indep:
+	make doc
+	dh_installdocs

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-astro/packages/starlink-pal.git



More information about the Debian-astro-commits mailing list