reticulum_website/Makefile
2023-07-09 14:45:02 +02:00

27 lines
522 B
Makefile

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/
docsfolder:
@mkdir -p ./docs
cp -rv ./build/* ./docs/
github: website docsfolder
upload:
. ./build.env; \
rsync -rv build/ "$$DEPLOY_TARGET" --delete
deploy: clean website upload