Changeset View
Changeset View
Standalone View
Standalone View
docs/Makefile
Show All 22 Lines | |||||
sphinx/html: links-stamp apidoc-stamp images-stamp rec-build-stamp | sphinx/html: links-stamp apidoc-stamp images-stamp rec-build-stamp | ||||
links-stamp: | links-stamp: | ||||
bin/ln-sphinx-subprojects | bin/ln-sphinx-subprojects | ||||
touch $@ | touch $@ | ||||
apidoc: apidoc-stamp | apidoc: apidoc-stamp | ||||
apidoc-stamp: links-stamp images-stamp | apidoc-stamp: links-stamp | ||||
$(SPHINXAPIDOC) --implicit-namespaces $(APIDOC_OPTS) -o $(APIDOC_DIR) $(SWHPKGDIR) $(APIDOC_SWH_EXCLUDES) | $(SPHINXAPIDOC) --implicit-namespaces $(APIDOC_OPTS) -o $(APIDOC_DIR) $(SWHPKGDIR) $(APIDOC_SWH_EXCLUDES) | ||||
touch $@ | touch $@ | ||||
images-stamp: | images-stamp: | ||||
$(MAKE) -C images | $(MAKE) -C images | ||||
$(MAKE) -C swh-deposit/images | |||||
touch $@ | touch $@ | ||||
# Build documentation recursively in all packages, to make sure that auxiliary, | # Build documentation recursively in all packages, to make sure that auxiliary, | ||||
# non-sphinx managed documentation artifacts (e.g., schema diagrams) are also | # non-sphinx managed documentation artifacts (e.g., schema diagrams) are also | ||||
# built. | # built. | ||||
rec-build-stamp: $(wildcard ../../swh-*/docs/*.rst) | rec-build-stamp: $(wildcard ../../swh-*/docs/*.rst) | ||||
$(MAKE) -C ../../ docs-assets | $(MAKE) -C ../../ docs-assets | ||||
touch $@ | touch $@ | ||||
Show All 18 Lines | |||||
install: html | install: html | ||||
test -d $(HTMLDIR) | test -d $(HTMLDIR) | ||||
rsync -rlvuz --delete $(BUILDDIR)/html/ $(INSTALL_HOST):$(INSTALL_DIR)/ | rsync -rlvuz --delete $(BUILDDIR)/html/ $(INSTALL_HOST):$(INSTALL_DIR)/ | ||||
ssh $(INSTALL_HOST) \ | ssh $(INSTALL_HOST) \ | ||||
"find $(INSTALL_DIR) -not -group $(INSTALL_GROUP) -exec chgrp -v $(INSTALL_GROUP) {} + ; \ | "find $(INSTALL_DIR) -not -group $(INSTALL_GROUP) -exec chgrp -v $(INSTALL_GROUP) {} + ; \ | ||||
find $(INSTALL_DIR) -not -perm -ug=rw,o=r -exec chmod -v ug+rw,o+r {} + ; \ | find $(INSTALL_DIR) -not -perm -ug=rw,o=r -exec chmod -v ug+rw,o+r {} + ; \ | ||||
find $(INSTALL_DIR) -type d -not -perm -g=xs,ou=x -exec chmod -v g+xs,ou+x {} +" | find $(INSTALL_DIR) -type d -not -perm -g=xs,ou=x -exec chmod -v g+xs,ou+x {} +" | ||||
.PHONY: help html clean distclean install | .PHONY: help html clean distclean install images-stamp |