Output some documentation after installing (#18)
This commit is contained in:
6
Makefile
6
Makefile
@@ -30,13 +30,17 @@ tgz: clean
|
|||||||
|
|
||||||
.PHONY: check uninstall
|
.PHONY: check uninstall
|
||||||
check:
|
check:
|
||||||
echo "Not implemented"
|
@echo "Not implemented"
|
||||||
|
|
||||||
install: nethogs nethogs.8
|
install: nethogs nethogs.8
|
||||||
install -d -m 755 $(DESTDIR)$(sbin)
|
install -d -m 755 $(DESTDIR)$(sbin)
|
||||||
install -m 755 nethogs $(DESTDIR)$(sbin)
|
install -m 755 nethogs $(DESTDIR)$(sbin)
|
||||||
install -d -m 755 $(DESTDIR)$(man8)
|
install -d -m 755 $(DESTDIR)$(man8)
|
||||||
install -m 644 nethogs.8 $(DESTDIR)$(man8)
|
install -m 644 nethogs.8 $(DESTDIR)$(man8)
|
||||||
|
@echo
|
||||||
|
@echo "Installed nethogs to $(DESTDIR)$(sbin)"
|
||||||
|
@echo
|
||||||
|
@echo "You might have to add this directory to your PATH and/or refresh your shells' path cache with a command like 'hash -r'."
|
||||||
|
|
||||||
uninstall:
|
uninstall:
|
||||||
rm $(DESTDIR)$(sbin)/nethogs
|
rm $(DESTDIR)$(sbin)/nethogs
|
||||||
|
|||||||
Reference in New Issue
Block a user