Add a simple Makefile

This commit is contained in:
nicolargo 2018-12-27 10:10:26 +01:00
parent ab5e7247d3
commit 43db8c75ae
2 changed files with 18 additions and 1 deletions

16
Makefile Normal file
View File

@ -0,0 +1,16 @@
PORT?=8008
install:
sensible-browser "https://github.com/nicolargo/glances#installation"
test:
./unitest-all.sh
docs:
cd docs && ./build.sh
docs-server: docs
(sleep 2 && sensible-browser "http://localhost:$(PORT)") &
cd docs/_build/html/ && python -m SimpleHTTPServer $(PORT)
.PHONY: test docs docs-server

View File

@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
.TH "GLANCES" "1" "Dec 23, 2018" "3.1.0_beta" "Glances"
.TH "GLANCES" "1" "Dec 27, 2018" "3.1.0_beta" "Glances"
.SH NAME
glances \- An eye on your system
.
@ -569,6 +569,7 @@ have a section. Below an example for the CPU plugin:
.nf
.ft C
[cpu]
disable=false
user_careful=50
user_warning=70
user_critical=90