[emacs] tangle init.org before bootstrapping
authorAmin Bandali <amin@aminb.org>
Thu, 3 May 2018 15:42:06 +0000 (11:42 -0400)
committerAmin Bandali <amin@aminb.org>
Thu, 3 May 2018 15:43:17 +0000 (11:43 -0400)
By making `tangle-init' a prerequisite of `bootstrap'. Adjust build
instructions accordingly.

Makefile
init.org

index 3521a23..e694d46 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -6,6 +6,8 @@ bootstrap-borg:
        @cd lib/borg; git symbolic-ref HEAD refs/heads/master
        @cd lib/borg; git reset --hard HEAD
 
+bootstrap: tangle-init
+
 ta: tangle-init all
 
 ti: tangle-init build-init
index db1c2f4..1062c17 100644 (file)
--- a/init.org
+++ b/init.org
@@ -44,7 +44,6 @@ byte-compiled the packages. Something along these lines should work:
 git clone https://github.com/aminb/dotfiles ~/.emacs.d
 cd ~/.emacs.d
 make bootstrap-borg
-make tangle-init
 make bootstrap
 make build
 #+end_src