diff options
author | Fausto Núñez Alberro <fausto.nunez@mailbox.org> | 2021-01-16 14:16:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-16 14:16:57 +0100 |
commit | 1823a9b541cd3305003fdeffb34ca1a46dd4abbf (patch) | |
tree | acb7ee57b379818335dc0cc34018799dfce8bea7 /Makefile | |
parent | 6191622d5806d4448fa2285047936bdcee57a098 (diff) | |
parent | ce854ffaae0fcee12a4f1a808a7e165776413db7 (diff) |
Merge pull request #1 from fnune/automate-with-pybase16-fork
Automate with pybase16
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..555bdfc --- /dev/null +++ b/Makefile @@ -0,0 +1,22 @@ +# Ref: https://github.com/theova/base16-qutebrowser +.PHONY: all clean update build + +BUILD=pybase16 +REPO=$(shell pwd) +TEMPLATE=$(shell basename ${REPO}) +THEME_DIR=colors +TEMPLATE_DIR=templates +OUTPUT=output + +all: update build + +update: + $(BUILD) update + +build: + $(BUILD) build -t ${REPO} -o ${OUTPUT} + rm -rf ${THEME_DIR} + mv ${OUTPUT}/${TEMPLATE}/${THEME_DIR}/ ${THEME_DIR}/ + +clean: + rm -rf ${OUTPUT} ${TEMPLATE_DIR}/*/ |