18 lines
378 B
Makefile
18 lines
378 B
Makefile
all: Makefile dist/index.html static
|
|
|
|
dist/index.html: build.py Makefile index.html res/arrow-path.txt res/i18n.yml
|
|
mkdir -p dist
|
|
python3 build.py
|
|
|
|
STATIC_FILES := $(wildcard vendor/*) res/ln-s.png res/ln-s.webp
|
|
|
|
.PHONY: static
|
|
static: $(STATIC_FILES)
|
|
mkdir -p dist/vendor
|
|
cp -r vendor/* dist/vendor/
|
|
cp res/ln-s.png res/ln-s.webp dist/
|
|
|
|
.PHONY: clean
|
|
clean:
|
|
rm -rf dist/
|