diff options
| author | 2020-12-27 18:11:21 +0000 | |
|---|---|---|
| committer | 2020-12-27 18:11:21 +0000 | |
| commit | 390f0b2389a3b636165044de0481dff8f0657570 (patch) | |
| tree | 0bdb0b237f0cadebcf9fe7de3113e468febb7163 /Makefile | |
| parent | 89f01a52fbe558dc400f1abd8b5e8a5620789619 (diff) | |
| parent | 34e5a16dac5ddbd7764fcbefaa3340002abec0e5 (diff) | |
Merge branch 'master' of github.com:HaoZeke/base16-zathura
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -4,7 +4,7 @@ BUILD=pybase16 REPO=$(shell pwd) TEMPLATE=$(shell basename ${REPO}) -THEME_DIR=build_schemes +BUILD_DIR=build_schemes TEMPLATE_DIR=templates OUTPUT=output @@ -15,8 +15,9 @@ update: build: $(BUILD) build -t ${REPO} -o ${OUTPUT} - rm -rf ${THEME_DIR} - mv ${OUTPUT}/${TEMPLATE}/${THEME_DIR}/ ${THEME_DIR}/ + rm -rf ${BUILD_DIR} + mkdir ${BUILD_DIR} + cat templates/config.yaml | grep output | cut -d' ' -f6 | xargs -L1 -I {} mv ${OUTPUT}/${TEMPLATE}/{}/ ${BUILD_DIR}/ clean: rm -rf ${OUTPUT} ${TEMPLATE_DIR}/*/ |
