[gnuplot] 03/09: Try to get reproducibility.

Anton Gladky gladk at moszumanska.debian.org
Thu Jun 9 20:23:35 UTC 2016


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

gladk pushed a commit to branch master
in repository gnuplot.

commit 2fccdd283d73e3e6214a919b4845a890462544a2
Author: Anton Gladky <gladk at debian.org>
Date:   Wed Jun 8 21:55:18 2016 +0200

    Try to get reproducibility.
---
 debian/gnuplot-doc.docs |  1 -
 debian/rules            | 10 +++++++++-
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/debian/gnuplot-doc.docs b/debian/gnuplot-doc.docs
index a3dcd92..7521e02 100644
--- a/debian/gnuplot-doc.docs
+++ b/debian/gnuplot-doc.docs
@@ -2,7 +2,6 @@ debian/build-x11/docs/gnuplot.dvi
 debian/build-x11/docs/gnuplot.pdf
 debian/build-x11/docs/gnuplot.ps
 debian/build-x11/docs/gnuplot.gih
-debian/build-x11/docs/gpcard.ps
 debian/build-x11/docs/htmldocs
 debian/build-x11/tutorial/tutorial.dvi
 debian/build-x11/tutorial/tutorial.pdf
diff --git a/debian/rules b/debian/rules
index 0d6eee8..5533a33 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,7 @@
 #!/usr/bin/make -f
 
 %:
-	dh $@ --parallel --with autoreconf
+	dh $@ --parallel
 
 export DEB_BUILD_MAINT_OPTIONS := hardening=+all,-pie
 export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
@@ -47,6 +47,12 @@ override_dh_auto_build:
 	dh_auto_build -a -- -C $(BUILDDIR_QT) pkglibexecdir='$$(libexecdir)'
 	cd $(BUILDDIR_X11)/docs; $(MAKE) pdf; $(MAKE) ps; $(MAKE) html; $(MAKE) info; ls
 	cd $(BUILDDIR_X11)/tutorial; $(MAKE) pdf; $(MAKE) ps; ls
+	sed -i '/<ADDRESS>/,/<\/ADDRESS>/{//!d}' $(BUILDDIR_X11)/docs/htmldocs/index.html
+	sed -i '/<ADDRESS>/,/<\/ADDRESS>/{//!d}' $(BUILDDIR_X11)/docs/htmldocs/figures.html
+	rm -f $(BUILDDIR_X11)/docs/htmldocs/internals.pl
+	rm -f $(BUILDDIR_X11)/docs/htmldocs/images.log
+	rm -f $(BUILDDIR_X11)/docs/htmldocs/WARNINGS
+	rm -f $(BUILDDIR_X11)/docs/gpcard.ps
 
 override_dh_auto_install:
 	$(MAKE) -C $(BUILDDIR_NOX) install DESTDIR=$(CURDIR)/debian/tmp/NOX/ \
@@ -64,6 +70,8 @@ override_dh_auto_install:
 	mv $(CURDIR)/debian/tmp/QT/usr/bin/gnuplot $(CURDIR)/debian/tmp/QT/usr/bin/gnuplot-qt
 	mv $(CURDIR)/debian/tmp/QT/usr/share/man/man1/gnuplot.1 $(CURDIR)/debian/tmp/QT/usr/share/man/man1/gnuplot-qt.1
 	mv $(CURDIR)/debian/tmp/QT/usr/share/gnuplot/gnuplot.gih $(CURDIR)/debian/tmp/QT/usr/share/gnuplot/gnuplot-qt.gih
+	rm -f $(CURDIR)/../demo/Makefile
+	rm -f $(CURDIR)/../demo/plugin/Makefile
 
 #override_dh_installinfo:
 #	dh_installinfo -pgnuplot-doc $(BUILDDIR_X11)/docs/gnuplot5.info

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/gnuplot.git



More information about the debian-science-commits mailing list