diff options
author | Mattias Andrée <maandree@kth.se> | 2018-06-10 22:34:06 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2018-06-10 22:38:45 +0200 |
commit | 70f4e0f50d14985152e2b257a53800df4cf5c772 (patch) | |
tree | 94ef0a586b09b38b8ec48b157e932cbe4a90f7d6 /Makefile | |
parent | First commit (diff) | |
download | simple-icon-theme-70f4e0f50d14985152e2b257a53800df4cf5c772.tar.gz simple-icon-theme-70f4e0f50d14985152e2b257a53800df4cf5c772.tar.bz2 simple-icon-theme-70f4e0f50d14985152e2b257a53800df4cf5c772.tar.xz |
make install: preserve symlinks
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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" |