summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2017-01-06 19:50:45 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2017-01-06 19:50:45 -0500
commit7edb003cd1c9b53ffdff11ef85532e39f08db16d (patch)
tree180db82a4af7720508ae2732393401bf4d27cadf /Makefile
parent7d875df65221d4da91953cf129a03e76fe8e5d29 (diff)
wip
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 28677ff..9eb8c00 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
SHELL = bash -o pipefail
-RUBYLIB=$(realpath .)/bin
+RUBYLIB := $(realpath .)/lib$(if $(RUBYLIB),:$(RUBYLIB))
export RUBYLIB
# Usage: $(call patsubst,PATTERN1 PATTERN2...,REPLACEMENT,TEXT)
@@ -21,7 +21,7 @@ html.dirs = $(sort $(patsubst src%,out%, \
html.out += out/index.atom $(addsuffix /index.html,$(html.dirs))
all: $(html.out) out/main.css
-.PHONY: all
+.PHONY: all out/tags
bin/page = bin/page bin/util.rb bin/pandoc.rb
bin/index = bin/index bin/util.rb bin/pandoc.rb
@@ -70,6 +70,11 @@ serve-%: all
@printf '%s' $(call quote.shell,$($*)) | sed 's/^/#/' | bin/write-ifchanged $@
-include $(wildcard .var.*)
+
+irb:
+ irb
+.PHONY: irb
+
.PHONY: FORCE
.DELETE_ON_ERROR:
.SECONDARY: