summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNick White <git@njw.me.uk>2012-08-18 16:09:34 +0100
committerNick White <git@njw.me.uk>2012-08-18 16:09:34 +0100
commit12f9ab5c27f3f84560d602941083b15520567bfe (patch)
tree50c4822c982e37b3e3ce179967cb59c0c943d1d7 /Makefile
parent327ac78329d8d5c10032ae5157f22c5010d87c3f (diff)
Install icons to pixmaps directory
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 33f0d43..7c5115e 100644
--- a/Makefile
+++ b/Makefile
@@ -34,11 +34,12 @@ util.a: $(LIB)
install: all
mkdir -p $(DESTDIR)$(PREFIX)/bin
cp -f $(BIN) $(DESTDIR)$(PREFIX)/bin
- sed "s:^set iconpath .*:set iconpath \"$(DESTDIR)$(PREFIX)/share/$(NAME)\":" < $(GUI) \
+ sed "s:^set iconpath .*:set iconpath \"$(DESTDIR)$(PREFIX)/share/pixmaps\":" < $(GUI) \
> $(DESTDIR)$(PREFIX)/bin/$(GUI:.tcl=)
chmod +x $(DESTDIR)$(PREFIX)/bin/getxbookgui
- mkdir -p $(DESTDIR)$(PREFIX)/share/$(NAME)
- cp icons/* $(DESTDIR)$(PREFIX)/share/$(NAME)/
+ mkdir -p $(DESTDIR)$(PREFIX)/share/pixmaps
+ cp icons/* $(DESTDIR)$(PREFIX)/share/pixmaps/
+ mkdir -p $(DESTDIR)$(PREFIX)/share/applications
cp $(NAME).desktop $(DESTDIR)$(PREFIX)/share/applications/
mkdir -p $(DESTDIR)$(MANPREFIX)/man1
for f in $(MAN); do sed "s/VERSION/$(VERSION)/g" < $$f > $(DESTDIR)$(MANPREFIX)/man1/$$f; done