reset: add man pages

This commit is contained in:
David Teigland 2014-08-18 14:19:14 -05:00
parent d5d7f86f2a
commit b6cadd813d
2 changed files with 25 additions and 2 deletions

View File

@ -0,0 +1,23 @@
From f4b87765ff8cb4f2d1850c0fd6238ce1fdb1c8a4 Mon Sep 17 00:00:00 2001
From: David Teigland <teigland@redhat.com>
Date: Mon, 18 Aug 2014 14:17:07 -0500
Subject: [PATCH] reset: install man pages
Signed-off-by: David Teigland <teigland@redhat.com>
---
reset/Makefile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/reset/Makefile b/reset/Makefile
index 457da5e5bbfa..d67ceb3a4883 100644
--- a/reset/Makefile
+++ b/reset/Makefile
@@ -58,3 +58,5 @@ MANDIR=/usr/share/man
install: all
$(INSTALL) -d $(DESTDIR)/$(BINDIR)
$(INSTALL) -c -m 755 $(TARGET1) $(TARGET2) $(DESTDIR)/$(BINDIR)
+ $(INSTALL) -m 644 sanlk-reset.8 $(DESTDIR)/$(MANDIR)/man8/
+ $(INSTALL) -m 644 sanlk-resetd.8 $(DESTDIR)/$(MANDIR)/man8/
--
1.8.3.1

View File

@ -35,7 +35,7 @@ Requires(postun): systemd-units
%endif %endif
Source0: http://git.fedorahosted.org/cgit/sanlock.git/snapshot/%{name}-%{version}.tar.gz Source0: http://git.fedorahosted.org/cgit/sanlock.git/snapshot/%{name}-%{version}.tar.gz
#Patch0: 0001-foo.patch Patch0: 0001-reset-install-man-pages.patch
%description %description
The sanlock daemon manages leases for applications running on a cluster The sanlock daemon manages leases for applications running on a cluster
@ -43,7 +43,7 @@ of hosts with shared storage.
%prep %prep
%setup -q %setup -q
#%patch0 -p1 -b .0001-foo.patch %patch0 -p1 -b .0001-reset-install-man-pages.patch
%build %build
# upstream does not require configure # upstream does not require configure