aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/wpa_gui-qt4/icons
diff options
context:
space:
mode:
authorKel Modderman <kel@otaku42.de>2008-11-11 15:41:19 (GMT)
committerJouni Malinen <j@w1.fi>2008-11-11 15:41:19 (GMT)
commitefd59c96d7c88d1eb5f770345fe4d14575d50ec2 (patch)
tree4b88f9ded67a6fd802b602dac262fd016a466da6 /wpa_supplicant/wpa_gui-qt4/icons
parent65db6cad234114c1e1f250e03aa25e75ca6b64a2 (diff)
downloadhostap-efd59c96d7c88d1eb5f770345fe4d14575d50ec2.zip
hostap-efd59c96d7c88d1eb5f770345fe4d14575d50ec2.tar.gz
hostap-efd59c96d7c88d1eb5f770345fe4d14575d50ec2.tar.bz2
wpa_gui-qt4: tweak icon Makefile
Output the xpm icons in more convenient location. Signed-off-by: Kel Modderman <kel@otaku42.de>
Diffstat (limited to 'wpa_supplicant/wpa_gui-qt4/icons')
-rw-r--r--wpa_supplicant/wpa_gui-qt4/icons/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/wpa_supplicant/wpa_gui-qt4/icons/Makefile b/wpa_supplicant/wpa_gui-qt4/icons/Makefile
index aa10107..cb5c65e 100644
--- a/wpa_supplicant/wpa_gui-qt4/icons/Makefile
+++ b/wpa_supplicant/wpa_gui-qt4/icons/Makefile
@@ -4,7 +4,7 @@ NAME := wpa_gui
SVG := $(NAME).svg
SIZES := 16x16 22x22 32x32 48x48 64x64 128x128
ICONS := $(addsuffix .png,$(SIZES))
-ICONS += $(addsuffix .xpm,16x16 32x32)
+ICONS += $(addsuffix .xpm,$(NAME) $(NAME)-16)
all: $(ICONS)
@@ -15,9 +15,13 @@ all: $(ICONS)
--export-height=$(word 2,$(subst x, ,$(@:.png=))) \
--export-png=hicolor/$(@:.png=)/apps/$(NAME).png
-%.xpm:
+$(NAME).xpm:
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:
$(RM) -r pixmaps hicolor