| 1 |
dir = usr/share/desktop-base/homeworld-theme/grub |
| 2 |
|
| 3 |
.PHONY: build clean install |
| 4 |
|
| 5 |
files = \ |
| 6 |
grub-4x3.png \ |
| 7 |
grub-16x9.png |
| 8 |
|
| 9 |
build: $(files) |
| 10 |
|
| 11 |
clean: |
| 12 |
rm -f grub-4x3.png.raw grub-16x9.png.raw |
| 13 |
rm -f grub-4x3.png grub-16x9.png |
| 14 |
|
| 15 |
install: |
| 16 |
install -d $(DESTDIR)/$(dir) |
| 17 |
$(INSTALL_DATA) $(wildcard *.png *.sh) $(DESTDIR)/$(dir) |
| 18 |
|
| 19 |
grub-4x3.png: grub-4x3.svg |
| 20 |
inkscape --export-filename=$@ $< |
| 21 |
mv $@ [email protected] |
| 22 |
optipng [email protected] -out $@ |
| 23 |
|
| 24 |
grub-16x9.png: grub-16x9.svg |
| 25 |
inkscape --export-filename=$@ $< |
| 26 |
mv $@ [email protected] |
| 27 |
optipng [email protected] -out $@ |
| 28 |
|
| 29 |
include ../../Makefile.inc |