Correct the make install target.
The make install target tries to install a man page that does not exist. This patch fixes the makefile to install the existing man pages only. Signed-off-by: Richard Cochran <richardcochran@gmail.com>
This commit is contained in:
parent
46acbcee42
commit
74cdaafd5b
4
makefile
4
makefile
@ -74,7 +74,9 @@ force:
|
||||
install: $(PRG)
|
||||
install -p -m 755 -d $(DESTDIR)$(sbindir) $(DESTDIR)$(man8dir)
|
||||
install $(PRG) $(DESTDIR)$(sbindir)
|
||||
install -p -m 644 -t $(DESTDIR)$(man8dir) $(PRG:%=%.8)
|
||||
for x in $(PRG:%=%.8); do \
|
||||
[ -f $$x ] && install -p -m 644 -t $(DESTDIR)$(man8dir) $$x ; \
|
||||
done
|
||||
|
||||
clean:
|
||||
rm -f $(OBJECTS) $(DEPEND) $(PRG)
|
||||
|
Loading…
x
Reference in New Issue
Block a user