feat(doc): Makefile for making screenshots
This commit is contained in:
parent
a251b6fe70
commit
4c506c9365
24 changed files with 25 additions and 27 deletions
15
Makefile
Normal file
15
Makefile
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
LP ?= /home/nojhan/code/liquidprompt
|
||||
HEIGHT := 450
|
||||
THEME := dotmatrix dotmatrix.theme
|
||||
|
||||
ALL := $(addprefix screenshots/,variant-chevron.png variant-round.png variant-slant.png variant-text.png variant-chevron_colors-cyan-magenta.png variant-chevron_colors-green-red.png variant-chevron_colors-high-contrast.png)
|
||||
|
||||
.PHONY: all
|
||||
|
||||
all: Makefile $(ALL)
|
||||
|
||||
clean:
|
||||
rm -f $(ALL)
|
||||
|
||||
%.png:
|
||||
$(LP)/tools/theme-screenshot.sh $(HEIGHT) $(THEME) $(addprefix presets/,$(addsuffix .conf, $(subst _, ,$(basename $(notdir $@))))) > $@
|
||||
Loading…
Add table
Add a link
Reference in a new issue