diff --git a/gen-gh-pages/compile.sh b/gen-gh-pages/compile.sh index 3af25e92..19f1fc9f 100755 --- a/gen-gh-pages/compile.sh +++ b/gen-gh-pages/compile.sh @@ -1,15 +1,5 @@ #!/usr/bin/env bash -function run_make_on_org () { - original="$(pwd)" - cd .cask - cd "$(ls | head)" - cd elpa - cd "$(ls | grep org-plus)" - make autoloads - cd $original -} - export PATH="$HOME/.cask/bin:$HOME/.evm/bin:$PATH" THIS_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" @@ -27,7 +17,6 @@ echo "this is PATH $PATH" type -a emacs cask install -run_make_on_org cask exec emacs --script generate-html.el mv "$THIS_DIR/../dotfiles/emacs.d/README.html" . diff --git a/gen-gh-pages/generate-html.el b/gen-gh-pages/generate-html.el index eae66b93..77a614c9 100755 --- a/gen-gh-pages/generate-html.el +++ b/gen-gh-pages/generate-html.el @@ -1,5 +1,6 @@ (package-initialize) +(require 'org-loaddefs) (require 'ox-html) (require 'htmlize)