Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
28 lines (18 sloc) 392 Bytes
LANG ?= en
LANG := $(subst -, ,$(LANG))
LANG := $(subst _, ,$(LANG))
LANG := $(firstword $(LANG))
.PHONY: resources
all: html resources
css:
scss resources/pinout.scss > resources/pinout.scss.css
html:
./generate-html.py $(LANG)
resources:
cp -r resources output/$(LANG)/
devel: css all resources
./serve.py ${LANG}
clean:
rm -rf output/$(LANG)/*
serve: all
./serve.py $(LANG)