mirror of
https://github.com/daylinmorgan/task.mk.git
synced 2024-12-22 18:00:44 -06:00
18 lines
346 B
Makefile
18 lines
346 B
Makefile
MAKEFLAGS += --no-print-directory
|
|
COLS ?= 60
|
|
ROWS ?= 20
|
|
EXAMPLES := check embedded recipe-help
|
|
CASTS := $(addsuffix /demo.cast, $(EXAMPLES))
|
|
|
|
all: $(CASTS)
|
|
|
|
%/demo.cast: %/record.sh
|
|
asciinema rec --cols $(COLS) --rows $(ROWS) --overwrite -c $< $@
|
|
|
|
check/demo.cast: COLS = 48
|
|
check/demo.cast: ROWS = 12
|
|
|
|
clean:
|
|
rm -rf $(CASTS)
|
|
|
|
.PHONY:all clean
|