diff options
author | eug-vs <eugene@eug-vs.xyz> | 2021-08-14 01:44:25 +0300 |
---|---|---|
committer | eug-vs <eugene@eug-vs.xyz> | 2021-08-14 01:44:25 +0300 |
commit | 0e389c59bb061f8eb32b102e7073ff0eb1d934ee (patch) | |
tree | c7407fdf74db0c9dd896aa82c8625fbf861c809a | |
parent | fba651a0e4a497edf6582f4393d53392364a670b (diff) | |
download | telegram-based-wojak-0e389c59bb061f8eb32b102e7073ff0eb1d934ee.tar.gz |
refactor: generalize view command
-rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -4,10 +4,13 @@ OUTPUTS=$(patsubst src/%.png, out/%.png, $(patsubst src/%.jpg, out/%.png, $(SOUR SIZE=512x512 FUZZ=50% +VIEW_COMMAND=sxiv -t + + all: $(OUTPUTS) -open: all - sxiv -t out +view: all + $(VIEW_COMMAND) out out/%.png: src/%.* @mkdir -p out |