mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-10 18:47:22 +00:00
only rename manpage if its found
This commit is contained in:
parent
d7af26b64b
commit
99fc2e8a83
@ -38,7 +38,12 @@ man_MANS = ipmitool.1
|
|||||||
EXTRA_DIST = ipmitool.1.in
|
EXTRA_DIST = ipmitool.1.in
|
||||||
|
|
||||||
install-data-hook:
|
install-data-hook:
|
||||||
mv $(mandir)/man1/ipmitool.1 $(mandir)/man1/@IPMITOOL_BIN@.1
|
if test -e $(mandir)/man1/ipmitool.1 ; then \
|
||||||
|
mv $(mandir)/man1/ipmitool.1 $(mandir)/man1/@IPMITOOL_BIN@.1 ; \
|
||||||
|
fi
|
||||||
|
|
||||||
uninstall-hook:
|
uninstall-hook:
|
||||||
mv $(mandir)/man1/@IPMITOOL_BIN@.1 $(mandir)/man1/ipmitool.1
|
if test -e $(mandir)/man1/@IPMITOOL_BIN@.1 ; then \
|
||||||
|
mv $(mandir)/man1/@IPMITOOL_BIN@.1 $(mandir)/man1/ipmitool.1 ; \
|
||||||
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user