source: zero-lliurex-installers/trunk/fuentes/rsrc/Makefile @ 3611

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

WIP rename pyromaths zmd

File size: 559 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        inkscape $< -z -e=$@ 2>/dev/null
14
15        @echo -e '$(BUILD_COLOR)* Copying $@ to ../$(patsubst %.png,%.install,$@)/usr/share/banners/lliurex-neu/$(NO_COLOR)' 
16        cp $@ ../$(patsubst %.png,%.install,$@)/usr/share/banners/lliurex-neu/
17       
18clean:
19        @echo -e '$(CLEAN_COLOR)* Cleaning...$(NO_COLOR)' 
20        rm -rf $(patsubst %.svg,%.png,$(wildcard *.svg))
21       
22       
Note: See TracBrowser for help on using the repository browser.