summary refs log tree commit diff
diff options
context:
space:
mode:
authornoa@gaiwan.org2024-06-23 09:59:45 +0000
committernoa@gaiwan.org2024-06-23 09:59:45 +0000
commita3e1bd51dabb86c9fd6805db5a32ff6c9911d460 (patch)
treecffc2fcaa9bc0cb30fc0568845b9f7375bc31868
parent00ec3f0fbab5244db04ac6bac007777cf1e99a76 (diff)
Add information on building emacs
-rw-r--r--config.org13
1 files changed, 13 insertions, 0 deletions
diff --git a/config.org b/config.org
index d93d2e3..8d36390 100644
--- a/config.org
+++ b/config.org
@@ -17,6 +17,19 @@ I have consulted [[https://raw.githubusercontent.com/rasendubi/dotfiles/master/R
 
 For this initial test, my configuration fails on both counts.  All i've done is put every section of elisp into a code block and turned the comments into normal org text.  Over time, i hope to expand it into something which ticks both of those boxes.
 
+* Emacs installation
+#+begin_src sh :tangle no
+  BUILD_OPTS=$(emacs \
+		   --batch \
+		   --eval "(prin1 system-configuration-options)")
+
+  ./autogen.sh
+  echo "$BUILD_OPTS" | sed 's/^"\(.*\)"$/\1/' \
+      | xargs ./configure
+  make bootstrap
+  sudo make install
+#+end_src
+
 * Configuration
 
 #+begin_src elisp