1
0
Fork 0
arangodb/Makefile.local

29 lines
953 B
Makefile
Executable File

# -*- mode: Makefile; -*-
MANUAL_DST="fceller@www.arangodb.org:/srv/www/www.arangodb.org/avoc/manuals"
################################################################################
## publish
################################################################################
.PHONY: publish publish-wiki publish-html publish-pdf
publish: publish-wiki publish-html publish-pdf
publish-wiki:
(cd Doxygen/wiki && git checkout --force && git pull)
$(MAKE) wiki
(cd Doxygen/wiki && git add *.md; git commit -m "`date`" -a; git push)
publish-html:
$(MAKE) doxygen
@for w in $(WIKI); do scp Doxygen/html/$$w.html $(MANUAL_DST); done
publish-pdf:
scp Doxygen/latex/dba-manual.pdf $(MANUAL_DST)
scp Doxygen/latex/implementor-manual.pdf $(MANUAL_DST)
scp Doxygen/latex/install-manual.pdf $(MANUAL_DST)
scp Doxygen/latex/user-manual.pdf $(MANUAL_DST)
scp Doxygen/latex/ref-manual.pdf $(MANUAL_DST)
scp Doxygen/latex/imp-manual.pdf $(MANUAL_DST)