~sircmpwn/wersh

d830cf34efc753b17cdc26bb15a6a1e7f85dbcf2 — Drew DeVault 3 years ago 10c8d5d
Add Makefile
2 files changed, 7 insertions(+), 1 deletions(-)

A Makefile
M example/_config.sh
A Makefile => Makefile +6 -0
@@ 0,0 1,6 @@
PREFIX?=/usr/local
DESTDIR?=$(PREFIX)

install: wersh wersh.awk
	install -Dm755 wersh $(DESTDIR)/bin/wersh
	install -Dm755 wersh.awk $(DESTDIR)/bin/wersh.awk

M example/_config.sh => example/_config.sh +1 -1
@@ 14,7 14,7 @@ function page_title() {
case $input in
    *.html.w)
        preprocessor="hoedown --tables --fenced-code"
        wsource _templates/layout.html.sh
        wsource _templates/layout.html.w
        ;;
    *.scss.w)
        preprocessor="sassc -s -t compressed"