From 12f9ab5c27f3f84560d602941083b15520567bfe Mon Sep 17 00:00:00 2001 From: Nick White Date: Sat, 18 Aug 2012 16:09:34 +0100 Subject: Install icons to pixmaps directory --- Makefile | 7 ++++--- 1 file 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 -- cgit v1.2.3