Last change
on this file since 3611 was
3611,
checked in by jrpelegrina, 4 years ago
|
WIP rename pyromaths zmd
|
File size:
559 bytes
|
Rev | Line | |
---|
[3611] | 1 | NO_COLOR = \x1b[0m |
---|
| 2 | BUILD_COLOR = \x1b[32;01m |
---|
| 3 | CLEAN_COLOR = \x1b[31;01m |
---|
| 4 | |
---|
| 5 | |
---|
| 6 | FILES:=$(patsubst %.svg,%.png,$(wildcard *.svg)) |
---|
| 7 | |
---|
| 8 | |
---|
| 9 | all: $(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 | |
---|
| 18 | clean: |
---|
| 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.