more fixes to website build

This commit is contained in:
Jaromil
2010-03-30 18:26:54 +02:00
parent 18a58a9aac
commit aa6bc90ea2
6 changed files with 13 additions and 16 deletions
+5 -5
View File
@@ -13,26 +13,26 @@ cache:
chmod a+rwx templates_c cache
index.html: index.org
$(EMACS) -no-site-file -batch -l $(SCRIPTS)/batch.el \
$(EMACS) -no-site-file -batch -l $(SCRIPTS)/elisp/org-batch.el \
--visit $(INDEX) -f org-export-as-html
index.txt: index.org
$(EMACS) -no-site-file q -batch -l $(SCRIPTS)/batch.el \
$(EMACS) -no-site-file q -batch -l $(SCRIPTS)/elisp/org-batch.el \
--visit $(INDEX) -f org-export-as-ascii
index.pdf: index.org
$(EMACS) -no-site-file -q -batch -l $(SCRIPTS)/batch.el \
$(EMACS) -no-site-file -q -batch -l $(SCRIPTS)/elisp/org-batch.el \
--visit $(INDEX) -f org-export-as-pdf
ascii: index.txt
html: index.html
$(SCRIPTS)/org-split-body-toc.sh index.html
$(SCRIPTS)/bin/org-split-body-toc.sh index.html
pdf: index.pdf
apache.conf:
./generate-apache-conf.sh
./bin/generate-apache-conf.sh
clean:
rm -f *~ *.pdf *.tex *.html *.xml *.txt *.conf
+8 -11
View File
@@ -1,23 +1,20 @@
;; emacs batch mode configuration
;; emacs org-mode batch configuration
;; local emacs extensions
(add-to-list 'load-path "/usr/local/share/emacs/site-lisp/")
(add-to-list 'load-path ".")
(add-to-list 'load-path "./elisp")
;;; ORG mode
(require 'org-install)
(require 'org-exp-blocks)
(require 'color-theme)
(color-theme-initialize)
(color-theme-twilight)
(require 'htmlize)
'(htmlize-ignore-face-size (quote absolute))
'(htmlize-output-type (quote inline-css))
;; set auto load on .org files
(add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode))
;; org mode customisations
(setq org-export-htmlize-output-type 'css)
'(org-export-blocks (quote ((comment org-export-blocks-format-comment t) (ditaa org-export-blocks-format-ditaa nil) (dot org-export-blocks-format-dot t) (r org-export-blocks-format-R nil) (R org-export-blocks-format-R nil))))
'(org-export-html-inline-images t)
'(org-export-html-use-infojs t)
@@ -26,5 +23,5 @@
'(org-export-htmlize-output-type "css")
'(org-export-html-validation-link "<p class=\"xhtml-validation\"><a href=\"http://validator.w3.org/check?uri=referer\">Validate XHTML 1.0</a></p>")
'(org-export-html-with-timestamp nil)
'(org-modules (quote (org-bbdb org-bibtex org-gnus org-info org-jsinfo org-irc org-w3m org-mouse org-eval org-eval-light org-exp-bibtex org-man org-mtags org-panel org-R org-special-blocks org-exp-blocks)))
'(org-modules (quote (org-bbdb org-bibtex org-info org-jsinfo org-irc org-w3m org-mouse org-eval org-eval-light org-exp-bibtex org-man org-mtags org-panel org-R org-special-blocks org-exp-blocks)))