aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 754dd562f05467a786311ea04fbd37cfe57fbb00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
all: clean
	make generate
	
generate: preview.png versions update-cache

preview.png:
	$(shell find "scalable/" -type f -name "*.png" -not -path ".git/*" -not -path 'scalable/animations/*' | sort | feh -m -y 96 -E 96 -s -p -b trans -O preview.png -f-)

versions:
	find scalable/ -name '*.png' -exec ./generate.sh '{}' \;

update-cache:
	gtk-update-icon-cache `pwd`

clean:
	rm -f preview.png
..