Update build system to find manpage again (fixes #67)

This commit is contained in:
Arnout Engelen
2016-03-30 07:45:33 +02:00
parent eb17ecb504
commit a2329643f6
4 changed files with 25 additions and 16 deletions

11
doc/Makefile Normal file
View File

@@ -0,0 +1,11 @@
all:
man8 := $(PREFIX)/share/man/man8
install: nethogs.8
install -d -m 755 $(DESTDIR)$(man8)
install -m 644 nethogs.8 $(DESTDIR)$(man8)
uninstall:
rm $(DESTDIR)$(man8)/nethogs.8 || true