Add user manual to site

This commit is contained in:
Tom Willemse 2013-05-27 22:51:54 +02:00
parent e027f3c7e6
commit 1027b3c7d6
2 changed files with 15 additions and 2 deletions

View file

@ -2,9 +2,16 @@
all:
export:
export: manual
emacs -batch -l project.el -f org-publish-all
publish: export
rsync -avuz --delete --exclude='*~' _publish/ \
ryuslash.org:public_html/orgweb/projects/gitto
manual:
$(MAKE) -C "$(CURDIR)"/../doc html
clean:
rm -f *.elc
rm -rf _publish

View file

@ -1,7 +1,13 @@
(require 'org-publish)
(setq org-publish-project-alist
'(("gitto-files"
'(("gitto-docs"
:base-directory "../doc/html"
:publishing-directory "_publish/manual"
:recursive t
:base-extension "html"
:publishing-function org-publish-attachment)
("gitto-files"
:base-directory "./"
:publishing-directory "_publish/"
:recursive nil