diff options
author | Tom Willemse | 2013-05-27 22:51:54 +0200 |
---|---|---|
committer | Tom Willemse | 2013-05-27 22:51:54 +0200 |
commit | 1027b3c7d654dd9f0dc988b66f14bffbdff97003 (patch) | |
tree | a661366389fd08b7ba7b2f4de521e8c7e00e237c | |
parent | e027f3c7e6db96535e2515d6e65389a5079e0a82 (diff) | |
download | gitto-1027b3c7d654dd9f0dc988b66f14bffbdff97003.tar.gz gitto-1027b3c7d654dd9f0dc988b66f14bffbdff97003.zip |
Add user manual to site
-rw-r--r-- | site/Makefile | 9 | ||||
-rw-r--r-- | site/project.el | 8 |
2 files changed, 15 insertions, 2 deletions
diff --git a/site/Makefile b/site/Makefile index 700cc6f..c7a2f82 100644 --- a/site/Makefile +++ b/site/Makefile @@ -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 diff --git a/site/project.el b/site/project.el index 5448091..270f109 100644 --- a/site/project.el +++ b/site/project.el @@ -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 |