[med-svn] [hail] 07/07: Use correct man page path
Kevin Murray
daube-guest at moszumanska.debian.org
Sat Jan 9 23:12:26 UTC 2016
This is an automated email from the git hooks/post-receive script.
daube-guest pushed a commit to branch master
in repository hail.
commit 5fc88ad7c1d261e4575e6cf8c5fc30cbbf663854
Author: Kevin Murray <spam at kdmurray.id.au>
Date: Wed Dec 23 21:49:40 2015 +1100
Use correct man page path
---
.../patches/0002-Use-correct-man-file-path.patch | 34 ++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 35 insertions(+)
diff --git a/debian/patches/0002-Use-correct-man-file-path.patch b/debian/patches/0002-Use-correct-man-file-path.patch
new file mode 100644
index 0000000..c779185
--- /dev/null
+++ b/debian/patches/0002-Use-correct-man-file-path.patch
@@ -0,0 +1,34 @@
+From: Kevin Murray <spam at kdmurray.id.au>
+Date: Wed, 23 Dec 2015 21:46:34 +1100
+Subject: Use correct man file path
+
+---
+ Makefile | 9 ++++-----
+ 1 file changed, 4 insertions(+), 5 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index 4ed35f3..0a8cf67 100644
+--- a/Makefile
++++ b/Makefile
+@@ -1,7 +1,6 @@
+ CC ?= gcc
+-CFLAGS ?=
+-CFLAGS +=-O3 -std=gnu99
+-PREFIX ?= $(HOME)
++CFLAGS += -O3 -std=gnu99
++PREFIX ?= /usr
+
+ all: hail
+
+@@ -10,9 +9,9 @@ hail: hail.c
+
+ install: hail hail.1
+ mkdir -p $(PREFIX)/bin
+- mkdir -p $(PREFIX)/man/man1
++ mkdir -p $(PREFIX)/share/man/man1
+ cp hail $(PREFIX)/bin
+- cp hail.1 $(PREFIX)/man/man1
++ cp hail.1 $(PREFIX)/share/man/man1
+
+ clean:
+ rm -f hail
diff --git a/debian/patches/series b/debian/patches/series
index 82d3d5d..3b0b2ae 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
makefile-cflags
+0002-Use-correct-man-file-path.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/hail.git
More information about the debian-med-commit
mailing list