summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2017-03-05 00:58:00 +0100
committerRémi Verschelde <rverschelde@gmail.com>2017-03-05 00:58:00 +0100
commitc0dc8a23e95ecee2c861b19789c32bd5b2a564de (patch)
tree14bee8ae2f5af246da518f0bb55aa88bd12c1411 /Makefile
parent356dd449344c9b214a5008306a47b6e18e08ef25 (diff)
downloaddrakx-net-c0dc8a23e95ecee2c861b19789c32bd5b2a564de.tar
drakx-net-c0dc8a23e95ecee2c861b19789c32bd5b2a564de.tar.gz
drakx-net-c0dc8a23e95ecee2c861b19789c32bd5b2a564de.tar.bz2
drakx-net-c0dc8a23e95ecee2c861b19789c32bd5b2a564de.tar.xz
drakx-net-c0dc8a23e95ecee2c861b19789c32bd5b2a564de.zip
Install status SVG icons in hicolor theme
Added a FIXME as this icon management really needs a big cleanup.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 55008c6..5f0b417 100644
--- a/Makefile
+++ b/Makefile
@@ -9,6 +9,7 @@ libexecdir=/usr/libexec
desktopdir=/usr/share/applications
autostartdir=/etc/xdg/autostart
iconsdir=/usr/lib/libDrakX/icons
+scalableiconsdir=/usr/share/icons/hicolor/scalable/actions
pixmapsdir=/usr/share/libDrakX/pixmaps
USER_TOOLS=net_applet
@@ -25,7 +26,7 @@ check:
@for p in bin/*; do perl -cw $$p || exit 1; done
install:
- install -d $(DESTDIR){$(libdir),$(bindir),$(libexecdir),$(desktopdir),$(autostartdir),$(iconsdir),$(pixmapsdir)}
+ install -d $(DESTDIR){$(libdir),$(bindir),$(libexecdir),$(desktopdir),$(autostartdir),$(iconsdir),$(pixmapsdir),$(scalableiconsdir)}
cp -a lib/* $(DESTDIR)$(libdir)/libDrakX/
find $(DESTDIR) -name .perl_checker -exec rm {} \;
(cd bin && \
@@ -35,6 +36,10 @@ install:
install -m644 $(wildcard data/*.desktop) $(DESTDIR)$(desktopdir)
install -m644 $(wildcard data/icons/*.png) $(DESTDIR)$(iconsdir)
install -m644 $(wildcard data/pixmaps/*.png) $(DESTDIR)$(pixmapsdir)
+ # FIXME: Unify install locations for drakx icons
+ for icon in connected disconnected unconfigured connecting; do \
+ install -m644 data/pixmaps/svg/$$icon.svg $(DESTDIR)$(scalableiconsdir)/$(NAME)-$$icon.svg; \
+ done
perl -pe 's/\s+--force//g' $(DESTDIR)$(desktopdir)/net_applet.desktop > $(DESTDIR)$(autostartdir)/net_applet.desktop
make -C po install
make -C polkit install