source: zero-lliurex-jclic-biblio/trunk/fuentes/svg/Makefile @ 3640

Last change on this file since 3640 was 3640, checked in by jrpelegrina, 3 years ago

WIP in rename to zero-lliurex-jclic-biblio

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