changeset 24:7b34b718503e tip

makefile, and updated this stuff to work with the newest emacs!
author Robert McIntyre <rlm@mit.edu>
date Mon, 02 Mar 2015 12:30:24 -0800
parents 88d986bf127b
children
files Makefile weave-all.sh
diffstat 2 files changed, 26 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/Makefile	Mon Mar 02 12:30:24 2015 -0800
     1.3 @@ -0,0 +1,2 @@
     1.4 +install:
     1.5 +	ln -sfv `pwd`/weave-all.sh /bin/weave-all
     2.1 --- a/weave-all.sh	Thu Jun 13 22:00:59 2013 -0400
     2.2 +++ b/weave-all.sh	Mon Mar 02 12:30:24 2015 -0800
     2.3 @@ -13,10 +13,30 @@
     2.4  
     2.5  dir=`pwd`
     2.6  
     2.7 +# emacs  \
     2.8 +# -l /home/r/config/emacs/clojure-init.el \
     2.9 +# -l /home/r/config/emacs/org-init.el \
    2.10 +# -l /home/r/config/emacs/web-color.el \
    2.11 +# --batch \
    2.12 +# --eval "
    2.13 +# (progn
    2.14 +# (setq org-publish-project-alist
    2.15 +#       '(
    2.16 +# 	(\"project\"
    2.17 +# 	 :base-directory \"$dir/org\"
    2.18 +# 	 :base-extension \"org\"
    2.19 +# 	 :publishing-directory \"$dir/html\"
    2.20 +# 	 :recursive t
    2.21 +# 	 :publishing-function org-publish-org-to-html
    2.22 +# 	 :auto-preamble t)
    2.23 +# 	))
    2.24 +
    2.25 +# (org-publish-project \"project\"))" \
    2.26 +# \
    2.27 +# 2>&1 #| pcregrep 'Wrote'
    2.28 +
    2.29  emacs  \
    2.30 --l /home/r/config/emacs/clojure-init.el \
    2.31 --l /home/r/config/emacs/org-init.el \
    2.32 --l /home/r/config/emacs/web-color.el \
    2.33 +-l /home/r/.emacs \
    2.34  --batch \
    2.35  --eval "
    2.36  (progn
    2.37 @@ -27,7 +47,7 @@
    2.38  	 :base-extension \"org\"
    2.39  	 :publishing-directory \"$dir/html\"
    2.40  	 :recursive t
    2.41 -	 :publishing-function org-publish-org-to-html
    2.42 +	 :publishing-function org-html-publish-to-html
    2.43  	 :auto-preamble t)
    2.44  	))
    2.45