just some more simple Makefile targets
This commit is contained in:
parent
fa6dcc5cea
commit
d2c7a013de
19
Makefile
19
Makefile
|
@ -1,6 +1,25 @@
|
|||
# Minimal makefile for Sphinx documentation
|
||||
#
|
||||
|
||||
all:
|
||||
@echo 'make deps # will install the dependancies (sphinx)'
|
||||
@echo 'make html # will push the html files to the webserver'
|
||||
@echo 'make build # will build the html docs'
|
||||
|
||||
deps:
|
||||
apt install sphinx-common
|
||||
|
||||
build:
|
||||
make html
|
||||
rsync -Pir _build/html/* r:/var/www/html/usw2/
|
||||
|
||||
# simple & standard git push
|
||||
push:
|
||||
git pull
|
||||
git add --all
|
||||
-git commit -a
|
||||
git push
|
||||
|
||||
# You can set these variables from the command line.
|
||||
SPHINXOPTS =
|
||||
SPHINXBUILD = sphinx-build
|
||||
|
|
Loading…
Reference in New Issue