summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrsiddharth <s@ricketyspace.net>2016-07-11 04:43:03 +0000
committerrsiddharth <s@ricketyspace.net>2016-07-11 04:43:03 +0000
commitf54af87473c5f4edafc54518b86135f7b3b424b6 (patch)
tree5037fd097ba5081f17011fd0218031f63d6cd6b8
parent2bf0246b8fc55099a60548ca47c87999ac17e15c (diff)
add section about installing guile.
* README.org (the script): state guile is a per-requisite. * docs/install-guile.org: new file. * docs/Makefile (install_guile_dir, install_guile_out): new targets.
-rw-r--r--README.org2
-rw-r--r--docs/Makefile15
-rw-r--r--docs/install-guile.org25
3 files changed, 41 insertions, 1 deletions
diff --git a/README.org b/README.org
index 7fdf747..b8871e1 100644
--- a/README.org
+++ b/README.org
@@ -49,6 +49,8 @@ function:
** installing
*** the script
+=git-difme= is written in [[https://gnu.org/s/guile][guile]]. first [[https://ricketyspace.net/git-difme/install-guile][install guile]], then do:
+
#+BEGIN_SRC bash
make git-difme
#+END_SRC
diff --git a/docs/Makefile b/docs/Makefile
index 68c953e..c09b700 100644
--- a/docs/Makefile
+++ b/docs/Makefile
@@ -11,10 +11,14 @@ footer=assets/includes/footer.html
index_src=index.org
index_out=$(build_dir)/index.html
+install_guile_src=install-guile.org
+install_guile_dir=$(build_dir)/install-guile
+install_guile_out=$(install_guile_dir)/index.html
+
nothing:
@echo "Give me something to make. "
-html: $(index_out)
+html: $(index_out) $(install_guile_out)
.PHONY: html
@@ -26,6 +30,15 @@ $(index_out): $(index_src) $(header) $(footer) $(build_dir)
@pandoc -f org -t html $< >> $@
@cat $(footer) >> $@
+$(install_guile_dir):
+ @mkdir -p $@
+
+$(install_guile_out): $(install_guile_src) $(header) $(footer) \
+ $(install_guile_dir)
+ @cat $(header) > $@
+ @pandoc -f org -t html $< >> $@
+ @cat $(footer) >> $@
+
clean: $(build_dir)
@rm -rf $<
diff --git a/docs/install-guile.org b/docs/install-guile.org
new file mode 100644
index 0000000..96ddab7
--- /dev/null
+++ b/docs/install-guile.org
@@ -0,0 +1,25 @@
+* install guile
+
+on gnu guix, do:
+
+#+BEGIN_SRC bash
+guix package -i guile
+#+END_SRC
+
+on debian based systems, do:
+
+#+BEGIN_SRC bash
+apt-get install guile
+#+END_SRC
+
+on arch based systems, do:
+
+#+BEGIN_SRC bash
+pacman -S guile
+#+END_SRC
+
+on os x, install [[http://brew.sh/][homebrew]], then do:
+
+#+BEGIN_SRC bash
+brew install guile
+#+END_SRC