Makefile: fix installation rules for icons & ui library.

This commit is contained in:
Glenn Y. Rolland 2012-08-03 18:24:05 +02:00
parent dd48b959f4
commit 54ea191dc9

View file

@ -121,7 +121,7 @@ clean-lib:
build-lib: build-lib:
install-lib: install-lib:
for libfile in lib/*.rb lib/**/*.rb ; do \ IFS="" find lib -name '*.rb' | while read libfile ; do \
install -D -o root -g root -m 644 $$libfile $(SHAREDIR)/$(NAME)/$$libfile; \ install -D -o root -g root -m 644 $$libfile $(SHAREDIR)/$(NAME)/$$libfile; \
done done
@ -139,7 +139,7 @@ install-data:
# #
## Install icons ## Install icons
mkdir -p $(SHAREDIR)/$(NAME)/icons mkdir -p $(SHAREDIR)/$(NAME)/icons
install -D -o root -g root -m 644 $(CURDIR)/icons/$(NAME).svg \ install -D -o root -g root -m 644 $(CURDIR)/data/icons/$(NAME).svg \
$(SHAREDIR)/$(NAME)/icons/$(NAME).svg $(SHAREDIR)/$(NAME)/icons/$(NAME).svg
# #
## Install completion file ## Install completion file