mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-02-21 03:23:04 -05:00
wpa_gui-qt4: tweak icon Makefile
Output the xpm icons in more convenient location. Signed-off-by: Kel Modderman <kel@otaku42.de>
This commit is contained in:
parent
65db6cad23
commit
efd59c96d7
@ -4,7 +4,7 @@ NAME := wpa_gui
|
|||||||
SVG := $(NAME).svg
|
SVG := $(NAME).svg
|
||||||
SIZES := 16x16 22x22 32x32 48x48 64x64 128x128
|
SIZES := 16x16 22x22 32x32 48x48 64x64 128x128
|
||||||
ICONS := $(addsuffix .png,$(SIZES))
|
ICONS := $(addsuffix .png,$(SIZES))
|
||||||
ICONS += $(addsuffix .xpm,16x16 32x32)
|
ICONS += $(addsuffix .xpm,$(NAME) $(NAME)-16)
|
||||||
|
|
||||||
all: $(ICONS)
|
all: $(ICONS)
|
||||||
|
|
||||||
@ -15,9 +15,13 @@ all: $(ICONS)
|
|||||||
--export-height=$(word 2,$(subst x, ,$(@:.png=))) \
|
--export-height=$(word 2,$(subst x, ,$(@:.png=))) \
|
||||||
--export-png=hicolor/$(@:.png=)/apps/$(NAME).png
|
--export-png=hicolor/$(@:.png=)/apps/$(NAME).png
|
||||||
|
|
||||||
%.xpm:
|
$(NAME).xpm:
|
||||||
mkdir -p pixmaps/
|
mkdir -p pixmaps/
|
||||||
convert hicolor/$(@:.xpm=)/apps/$(NAME).png pixmaps/$@
|
convert hicolor/32x32/apps/$(NAME).png pixmaps/$@
|
||||||
|
|
||||||
|
$(NAME)-16.xpm:
|
||||||
|
mkdir -p pixmaps/
|
||||||
|
convert hicolor/16x16/apps/$(NAME).png pixmaps/$@
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
$(RM) -r pixmaps hicolor
|
$(RM) -r pixmaps hicolor
|
||||||
|
Loading…
x
Reference in New Issue
Block a user