forked from markqvist/reticulum_website
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
28 lines (23 loc) · 640 Bytes
/
Makefile
File metadata and controls
28 lines (23 loc) · 640 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
clean:
@echo Cleaning...
@-rm -rf ./build
website:
@mkdir -p ./build
@mkdir -p ./build/css
@mkdir -p ./build/gfx
@mkdir -p ./build/manual
python ./build.py
cp assets/css/* build/css/
cp assets/gfx/* build/gfx/
cp -r ../../Reticulum/docs/manual/* build/manual/
cp -r ../../Reticulum/docs/Reticulum\ Manual.pdf build/manual/
cp -r ../../Reticulum/docs/Reticulum\ Manual.epub build/manual/
docsfolder:
@mkdir -p ./docs
cp -rv ./build/* ./docs/
touch ./docs/.nojekyll
github: website docsfolder
upload:
. ./build.env; \
rsync -rv -e "ssh -p $${DEPLOY_PORT}" build/ $${DEPLOY_TARGET} --delete;
deploy: clean website upload