• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/bin/bash
2
3set -e
4
5[ -e doc ] || (echo "Run this from the project root" && exit 1)
6
7make
8
9DOC_HTML=./doc/publican/Wayland/en-US/html/
10
11[ -e "${DOC_HTML}" ] || (echo "HTML documentation failed to build at ${DOC_HTML}" && exit 1)
12
13chmod -R g+x ${DOC_HTML}
14
15rsync --delete -avz ${DOC_HTML} freedesktop.org:/srv/wayland.freedesktop.org/www/docs/html/
16