From 70f4e0f50d14985152e2b257a53800df4cf5c772 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 10 Jun 2018 22:34:06 +0200 Subject: make install: preserve symlinks MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 5f2361d..3bd244e 100644 --- a/Makefile +++ b/Makefile @@ -1886,7 +1886,7 @@ simple.theme: Makefile install: simple.theme $(ALL_PNG_ICONS) mkdir -p -- "$(DESTDIR)$(ICONPREFIX)" - sed -e;\ + set -e;\ for d in $(DIRS); do\ for s in $(SIZES); do\ mkdir -p -- "$(DESTDIR)$(ICONPREFIX)/simple/$${s}x$${s}/$${d}";\ @@ -1896,9 +1896,9 @@ install: simple.theme $(ALL_PNG_ICONS) set -e;\ for i in $(ICONS); do\ for s in $(SIZES); do\ - cp -- "$${s}x$${s}/$${i}.png" "$(DESTDIR)$(ICONPREFIX)/simple/$${s}x$${s}/$${i}.png";\ + cp -P -- "$${s}x$${s}/$${i}.png" "$(DESTDIR)$(ICONPREFIX)/simple/$${s}x$${s}/$${i}.png";\ done;\ - cp -- "scalable/$${i}.svg" "$(DESTDIR)$(ICONPREFIX)/simple/scalable/$${i}.svg";\ + cp -P -- "scalable/$${i}.svg" "$(DESTDIR)$(ICONPREFIX)/simple/scalable/$${i}.svg";\ done cp -- simple.theme "$(DESTDIR)$(ICONPREFIX)/simple/simple.theme" -- cgit v1.2.3-70-g09d2