source: lliurex-openmeetings/trunk/fuentes/svg/Makefile @ 635

Last change on this file since 635 was 635, checked in by jrpelegrina, 4 years ago

First release to xenial

File size: 381 bytes
Line 
1NO_COLOR    = \x1b[0m
2BUILD_COLOR    = \x1b[32;01m
3CLEAN_COLOR    = \x1b[31;01m
4
5
6FILES:=$(patsubst %.svg,%.png,$(wildcard *.svg))
7
8       
9all: $(FILES)
10
11%.png : %.svg
12        @echo -e '$(BUILD_COLOR)* Rendering [$@]$(NO_COLOR)' 
13        rsvg-convert $< > $(patsubst %.png,%.png,$@)
14       
15       
16clean:
17        @echo -e '$(CLEAN_COLOR)* Cleaning...$(NO_COLOR)' 
18        rm -rf $(patsubst %.svg,%.png,$(wildcard *.svg))
19       
20       
Note: See TracBrowser for help on using the repository browser.