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>master
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…
Reference in New Issue