Commit 6b20925b authored by Philip Withnall's avatar Philip Withnall

build: Add `make upload` target to upload to

Signed-off-by: default avatarPhilip Withnall <>
Reviewed-by: default avatarSimon McVittie <>
Differential Revision:
parent 9faf1911
......@@ -63,4 +63,14 @@ clean: clean-examples
# Deployment
upload: all
tag=$$(git describe | sed 's/apertis\///'); \
[ -n "$$tag" ] || exit 1; \
rsync --archive --compress --verbose --human-readable --delete --perms --chmod=D2775,F664 \
build/html/ \$$tag && \
ssh "cd /srv/; rm latest && ln -s $$tag latest"
.PHONY: upload
......@@ -115,6 +115,20 @@ make pdf
If all goes well, you will find one PDF per input file in `build/pdf`.
# Uploading to
If you have sufficient permissions to upload to (i.e. SSH
access to that host), you can upload the current version of the documentation
there using:
make upload
Note that this will update the `latest` symlink on the website, so if you are
manually uploading older releases, please manually update the symlink
# Licensing
Apertis designs are licensed under CC BY-SA 4.0 International. See COPYING
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment