On Wed, 1 Apr 2015 10:19:15 Alexandre Detiste wrote:
> I fixed the icon location.
>
> for size in 22 24 32 48 128 ; do \
> - mkdir -p usr/share/icons/hicolor/$${size}x$${size}/apps ;\
> - install linux/icons/tyrian-$${size}.png
> usr/share/icons/hicolor/$${size}x$${size}/apps/opentyrian.png ;\
> + mkdir -p debian/opentyrian/usr/share/icons/hicolor/$${size}x$${size}/apps
> ;\ + install linux/icons/tyrian-$${size}.png
> debian/opentyrian/usr/share/icons/hicolor/$${size}x$${size}/apps/opentyrian.
> png ;\
> done
Hmm, how about doing it gnu-make-style?
~~~~
override_dh_auto_build:
$(MAKE) release
ICONS=22 24 32 48 128
.PHONY=$(ICONS)
$(ICONS):
install --verbose --mode=644 --preserve-timestamps -D \
$(CURDIR)/linux/icons/tyrian-$@.png \
$(CURDIR)/debian/opentyrian/usr/share/icons/hicolor/$@x$@/apps/opentyrian.png
override_dh_install: $(ICONS)
dh_install
~~~~
Please note that in make files "make" is usually spelled as "$(MAKE)".
--
Regards,
Dmitry Smirnov.
---
Perhaps is is better to be irresponsible and right, than to be responsible
and wrong.
-- Winston Churchill
Attachment:
signature.asc
Description: This is a digitally signed message part.