[Skiboot] [PATCH] external/gard: Add gard manual page

Cedric Le Goater clg at fr.ibm.com
Tue Jun 23 02:21:32 AEST 2015


Hi Cyril,

On 06/19/2015 06:49 AM, Cyril Bur wrote:
> Signed-off-by: Cyril Bur <cyril.bur at au1.ibm.com>
> ---
>  external/gard/gard.1 | 32 ++++++++++++++++++++++++++++++++
>  1 file changed, 32 insertions(+)
>  create mode 100644 external/gard/gard.1

Here are a few Makefile lines for the installation.

Cheers,

C. 



external/gard: Install gard manual page

Signed-off-by: Cédric Le Goater <clg at fr.ibm.com>
---
 external/gard/Makefile |    3 +++
 1 file changed, 3 insertions(+)

Index: skiboot.git/external/gard/Makefile
===================================================================
--- skiboot.git.orig/external/gard/Makefile
+++ skiboot.git/external/gard/Makefile
@@ -2,6 +2,8 @@
 
 prefix = /usr/local/
 sbindir = $(prefix)/sbin
+datadir = $(prefix)/share
+mandir = $(datadir)/man
 
 CC = $(CROSS_COMPILE)gcc
 CFLAGS = -m64 -Werror -Wall -g2 -ggdb
@@ -26,6 +28,7 @@ $(EXE): $(OBJS)
 
 install: all
 	install -D gard $(DESTDIR)$(sbindir)/opal-gard
+	install -D -m 0644 gard.1 $(DESTDIR)$(mandir)/man1/opal-gard.1
 
 clean:
 	rm -f $(OBJS) $(EXE) *.d



More information about the Skiboot mailing list