[PATCH 10/10] Install sample eppic scripts
Atsushi Kumagai
kumagai-atsushi at mxc.nes.nec.co.jp
Tue Mar 4 23:54:36 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/
Please write a patch for the latest version,
v1.5.5 uses install command instead of cp:
install -m 755 -d ${DESTDIR}/usr/sbin ${DESTDIR}/usr/share/man/man5 ${DESTDIR}/usr/share/man/man8 ${DESTDIR}/etc
install -m 755 -t ${DESTDIR}/usr/sbin makedumpfile makedumpfile-R.pl
install -m 644 -t ${DESTDIR}/usr/share/man/man8 makedumpfile.8.gz
install -m 644 -t ${DESTDIR}/usr/share/man/man5 makedumpfile.conf.5.gz
install -m 644 -D makedumpfile.conf ${DESTDIR}/etc/makedumpfile.conf.sample
Thanks
Atsushi Kumagai
>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