From 7edb003cd1c9b53ffdff11ef85532e39f08db16d Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Fri, 6 Jan 2017 19:50:45 -0500 Subject: wip --- Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'Makefile') 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: -- cgit v1.2.3-54-g00ecf