summaryrefslogtreecommitdiff
path: root/build-aux/build-home-page.el
diff options
context:
space:
mode:
Diffstat (limited to 'build-aux/build-home-page.el')
-rw-r--r--build-aux/build-home-page.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/build-aux/build-home-page.el b/build-aux/build-home-page.el
index 16134ad..130afee 100644
--- a/build-aux/build-home-page.el
+++ b/build-aux/build-home-page.el
@@ -34,5 +34,6 @@
org-html-head-include-scripts nil
org-html-postamble nil)
-(with-current-buffer (find-file "README.org")
- (org-export-to-file 'html "website/index.html"))
+(defun build-website ()
+ (with-current-buffer (find-file "README.org")
+ (org-export-to-file 'html "website/index.html")))