[PATCH 10/10] Install sample eppic scripts

Aruna Balakrishnaiah aruna at linux.vnet.ibm.com
Thu Feb 27 01:32:04 EST 2014


Install sample eppic scripts in the documentation directory

Signed-off-by: Aruna Balakrishnaiah <aruna at linux.vnet.ibm.com>
---
 Makefile          |    1 +
 makedumpfile.spec |    3 +++
 2 files changed, 4 insertions(+)

diff --git a/Makefile b/Makefile
index 10178ba..6e8e9b9 100644
--- a/Makefile
+++ b/Makefile
@@ -91,3 +91,4 @@ install:
 	cp makedumpfile.8.gz ${DESTDIR}/usr/share/man/man8
 	cp makedumpfile.conf.5.gz ${DESTDIR}/usr/share/man/man5
 	cp makedumpfile.conf ${DESTDIR}/etc/makedumpfile.conf.sample
+	cp eppic_scripts/* ${DESTDIR}/usr/share/makedumpfile-${VERSION}/eppic_scripts/
diff --git a/makedumpfile.spec b/makedumpfile.spec
index ea7fba4..7f5d1d4 100644
--- a/makedumpfile.spec
+++ b/makedumpfile.spec
@@ -28,6 +28,8 @@ mkdir -p %{buildroot}/bin
 mkdir -p %{buildroot}/etc
 mkdir -p %{buildroot}/usr/share/man/man5
 mkdir -p %{buildroot}/usr/share/man/man8
+mkdir -p %{buildroot}/usr/share/%{name}-%{version}/
+mkdir -p %{buildroot}/usr/share/%{name}-%{version}/eppic-scripts/
 make install DESTDIR=%{buildroot}
 
 %clean
@@ -39,6 +41,7 @@ rm -rf %{buildroot}
 /bin/makedumpfile-R.pl
 /usr/share/man/man5/makedumpfile.conf.5.gz
 /usr/share/man/man8/makedumpfile.8.gz
+%doc /usr/share/%{name}-%{version}/eppic_scripts/
 
 %changelog
 * Fri Aug 21 2008 Ken'ichi Ohmichi <oomichi at mxs.nes.nec.co.jp>




More information about the kexec mailing list