diff --git a/bin/compile.sh b/bin/compile.sh index cc12e4b5..829f6108 100755 --- a/bin/compile.sh +++ b/bin/compile.sh @@ -14,4 +14,4 @@ curl -fsSkL https://raw.github.com/cask/cask/master/go | python cask install cask exec emacs --script generate-html.el -cp "../dotfiles/emacs.d/README.html" out +cp "$THIS_DIR/../emacs.d/README.html" out diff --git a/bin/generate-html.el b/bin/generate-html.el index c272649c..7efe6815 100755 --- a/bin/generate-html.el +++ b/bin/generate-html.el @@ -16,6 +16,8 @@ (setq readme-src (concat emacs-dir "README.org")) (org-babel-tangle-file readme-src) + +(require 'use-pacakge) (load-file (concat emacs-dir "org-config.el")) (defun export-target (target)