summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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: