From 1027b3c7d654dd9f0dc988b66f14bffbdff97003 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Mon, 27 May 2013 22:51:54 +0200 Subject: [PATCH] Add user manual to site --- site/Makefile | 9 ++++++++- 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