From 849e7c1a707397d53f974f7084c48ccc2f5301c3 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Thu, 27 Dec 2007 16:58:09 +0100 Subject: [PATCH] install shared data (icons) in /usr/local/share --- Makefile | 5 +++++ awesomerc | 12 ++++++------ 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index f6a3acd2..8d8b0e36 100644 --- a/Makefile +++ b/Makefile @@ -83,12 +83,17 @@ install-unstrip: awesome awesome-client man @echo installing manual page to ${DESTDIR}${MANPREFIX}/man1 @install -d ${DESTDIR}${MANPREFIX}/man1 @install -m 644 ${DOCS:.txt=} ${DESTDIR}${MANPREFIX}/man1 + @echo installing shared data to ${DESTDIR}${PREFIX}/share + @install -d ${DESTDIR}${PREFIX}/share/awesome/icons/layouts + @install icons/layouts/* ${DESTDIR}${PREFIX}/share/awesome/icons/layouts/ uninstall: @echo removing executable file from ${DESTDIR}${PREFIX}/bin @rm ${DESTDIR}${PREFIX}/bin/awesome ${DESTDIR}${PREFIX}/bin/awesome-client @echo removing manual page from ${DESTDIR}${MANPREFIX}/man1 @rm ${DESTDIR}${MANPREFIX}/man1/awesome.1 ${DESTDIR}${MANPREFIX}/man1/awesome-client.1 ${DESTDIR}${MANPREFIX}/man1/awesomerc.1 + @echo removing shared data from ${DESTDIR}${PREFIX}/share + @rm -rf ${DESTDIR}${PREFIX}/share/awesome doc: @echo generating documentation diff --git a/awesomerc b/awesomerc index 3a451e2b..20585f9a 100644 --- a/awesomerc +++ b/awesomerc @@ -14,12 +14,12 @@ screen 0 } layouts { - layout tile { image = "tile.png" } - layout tileleft { image = "tileleft.png" } - layout max { image = "max.png" } - layout spiral { image = "spiral.png" } - layout dwindle { image = "dwindle.png" } - layout floating { image = "floating.png" } + layout tile { image = "/usr/local/share/icons/tile.png" } + layout tileleft { image = "/usr/local/share/icons/tileleft.png" } + layout max { image = "/usr/local/share/icons/max.png" } + layout spiral { image = "/usr/local/share/icons/spiral.png" } + layout dwindle { image = "/usr/local/share/icons/dwindle.png" } + layout floating { image = "/usr/local/share/icons/floating.png" } } statusbar {