install shared data (icons) in /usr/local/share

This commit is contained in:
Julien Danjou 2007-12-27 16:58:09 +01:00
parent 211034c725
commit 849e7c1a70
2 changed files with 11 additions and 6 deletions

View File

@ -83,12 +83,17 @@ install-unstrip: awesome awesome-client man
@echo installing manual page to ${DESTDIR}${MANPREFIX}/man1 @echo installing manual page to ${DESTDIR}${MANPREFIX}/man1
@install -d ${DESTDIR}${MANPREFIX}/man1 @install -d ${DESTDIR}${MANPREFIX}/man1
@install -m 644 ${DOCS:.txt=} ${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: uninstall:
@echo removing executable file from ${DESTDIR}${PREFIX}/bin @echo removing executable file from ${DESTDIR}${PREFIX}/bin
@rm ${DESTDIR}${PREFIX}/bin/awesome ${DESTDIR}${PREFIX}/bin/awesome-client @rm ${DESTDIR}${PREFIX}/bin/awesome ${DESTDIR}${PREFIX}/bin/awesome-client
@echo removing manual page from ${DESTDIR}${MANPREFIX}/man1 @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 @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: doc:
@echo generating documentation @echo generating documentation

View File

@ -14,12 +14,12 @@ screen 0
} }
layouts layouts
{ {
layout tile { image = "tile.png" } layout tile { image = "/usr/local/share/icons/tile.png" }
layout tileleft { image = "tileleft.png" } layout tileleft { image = "/usr/local/share/icons/tileleft.png" }
layout max { image = "max.png" } layout max { image = "/usr/local/share/icons/max.png" }
layout spiral { image = "spiral.png" } layout spiral { image = "/usr/local/share/icons/spiral.png" }
layout dwindle { image = "dwindle.png" } layout dwindle { image = "/usr/local/share/icons/dwindle.png" }
layout floating { image = "floating.png" } layout floating { image = "/usr/local/share/icons/floating.png" }
} }
statusbar statusbar
{ {