changeset 20432:1bc95d7148b7

build: Fix installation of icons from source tarball * etc/module.mk (install-icons): Remove redundant "etc/icons" from path to icons when building from source tarball.
author Mike Miller <mtmiller@octave.org>
date Sat, 25 Jul 2015 16:22:00 -0400
parents 4e52267743d7
children 26bd6008fc9c
files etc/module.mk
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/etc/module.mk	Sat Jul 25 15:25:19 2015 -0400
+++ b/etc/module.mk	Sat Jul 25 16:22:00 2015 -0400
@@ -104,7 +104,7 @@
 	fi
 	for f in $(BUILT_PNG_ICONS); do \
 	  size=`echo $$f | $(SED) -n -e "s/.*-\([0-9]\+\)\.png/\1/p"`; \
-	  if test -f $$f; then d=; else d="$(srcdir)/etc/icons/"; fi; \
+	  if test -f $$f; then d=; else d="$(srcdir)/"; fi; \
 	  $(MKDIR_P) $(DESTDIR)$(datadir)/icons/hicolor/$${size}x$${size}/apps; \
 	  $(INSTALL_DATA) "$$d$$f" $(DESTDIR)$(datadir)/icons/hicolor/$${size}x$${size}/apps/octave.png; \
 	done