[gnuplot] 03/08: Rename binaries from gnuplot to gnuplot4-*.

Anton Gladky gladk at moszumanska.debian.org
Tue Jun 24 22:02:53 UTC 2014


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

gladk pushed a commit to branch master
in repository gnuplot.

commit 43aac33d55d5db348c9a67317c1a01caabe20613
Author: Anton Gladky <gladk at debian.org>
Date:   Sat Jun 21 15:39:11 2014 +0200

    Rename binaries from gnuplot to gnuplot4-*.
---
 debian/gnuplot-nox.manpages | 2 +-
 debian/gnuplot-qt.manpages  | 2 +-
 debian/gnuplot-x11.manpages | 2 +-
 debian/rules                | 8 +++++++-
 4 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/debian/gnuplot-nox.manpages b/debian/gnuplot-nox.manpages
index 0786f8d..cd12f7c 100644
--- a/debian/gnuplot-nox.manpages
+++ b/debian/gnuplot-nox.manpages
@@ -1 +1 @@
-debian/tmp/NOX/usr/share/man/man1/gnuplot.1
+debian/tmp/NOX/usr/share/man/man1/gnuplot4-nox.1
diff --git a/debian/gnuplot-qt.manpages b/debian/gnuplot-qt.manpages
index 44d2dd4..3f5bb5d 100644
--- a/debian/gnuplot-qt.manpages
+++ b/debian/gnuplot-qt.manpages
@@ -1 +1 @@
-debian/tmp/QT/usr/share/man/man1/gnuplot.1
+debian/tmp/QT/usr/share/man/man1/gnuplot4-qt.1
diff --git a/debian/gnuplot-x11.manpages b/debian/gnuplot-x11.manpages
index 1a0bd44..859c61b 100644
--- a/debian/gnuplot-x11.manpages
+++ b/debian/gnuplot-x11.manpages
@@ -1 +1 @@
-debian/tmp/X11/usr/share/man/man1/gnuplot.1
+debian/tmp/X11/usr/share/man/man1/gnuplot4-x11.1
diff --git a/debian/rules b/debian/rules
index b514f65..4d528ce 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,7 +12,7 @@ export DEB_CFLAGS_MAINT_APPEND = -I/usr/include/lua5.1
 BUILDDIR_NOX = $(CURDIR)/debian/build-nox
 BUILDDIR_X11 = $(CURDIR)/debian/build-x11
 BUILDDIR_QT = $(CURDIR)/debian/build-qt
-MANPNOX = $(CURDIR)/debian/gnuplot-nox/usr/share/man/man1/gnuplot.1
+MANPNOX = $(CURDIR)/debian/gnuplot-nox/usr/share/man/man1/gnuplot4-nox.1
 
 conf_opts += \
 	--prefix=/usr \
@@ -53,10 +53,16 @@ override_dh_auto_build-indep:
 override_dh_auto_install:
 	$(MAKE) -C $(BUILDDIR_NOX) install DESTDIR=$(CURDIR)/debian/tmp/NOX/ \
 		pkglibexecdir='$$(libexecdir)'
+	mv $(CURDIR)/debian/tmp/NOX/usr/bin/gnuplot $(CURDIR)/debian/tmp/NOX/usr/bin/gnuplot4-nox
+	mv $(CURDIR)/debian/tmp/NOX/usr/share/man/man1/gnuplot.1 $(CURDIR)/debian/tmp/NOX/usr/share/man/man1/gnuplot4-nox.1
 	$(MAKE) -C $(BUILDDIR_X11) install DESTDIR=$(CURDIR)/debian/tmp/X11/ \
 		pkglibexecdir='$$(libexecdir)'
+	mv $(CURDIR)/debian/tmp/X11/usr/bin/gnuplot $(CURDIR)/debian/tmp/X11/usr/bin/gnuplot4-x11
+	mv $(CURDIR)/debian/tmp/X11/usr/share/man/man1/gnuplot.1 $(CURDIR)/debian/tmp/X11/usr/share/man/man1/gnuplot4-x11.1
 	$(MAKE) -C $(BUILDDIR_QT) install DESTDIR=$(CURDIR)/debian/tmp/QT/ \
 		pkglibexecdir='$$(libexecdir)'
+	mv $(CURDIR)/debian/tmp/QT/usr/bin/gnuplot $(CURDIR)/debian/tmp/QT/usr/bin/gnuplot4-qt
+	mv $(CURDIR)/debian/tmp/QT/usr/share/man/man1/gnuplot.1 $(CURDIR)/debian/tmp/QT/usr/share/man/man1/gnuplot4-qt.1
 
 override_dh_auto_test:
 	cp -f $(BUILDDIR_X11)/demo/binary* ./demo/

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