aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2018-06-10 22:34:06 +0200
committerMattias Andrée <maandree@kth.se>2018-06-10 22:38:45 +0200
commit70f4e0f50d14985152e2b257a53800df4cf5c772 (patch)
tree94ef0a586b09b38b8ec48b157e932cbe4a90f7d6 /Makefile
parentFirst commit (diff)
downloadsimple-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--Makefile6
1 files changed, 3 insertions, 3 deletions
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"