aboutsummaryrefslogtreecommitdiffstats
path: root/mk/xdestdir.mk
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2024-02-17 09:57:59 +0100
committerMattias Andrée <maandree@kth.se>2024-02-17 09:57:59 +0100
commitca5d7551235aac0df995ab8d67d0e473a2162abc (patch)
tree8729a14e2a8e9629bf192ae18941c5563933f347 /mk/xdestdir.mk
parentSome new icons and aliases (diff)
downloadsimple-icon-theme-ca5d7551235aac0df995ab8d67d0e473a2162abc.tar.gz
simple-icon-theme-ca5d7551235aac0df995ab8d67d0e473a2162abc.tar.bz2
simple-icon-theme-ca5d7551235aac0df995ab8d67d0e473a2162abc.tar.xz
New icons, more icons linked into claws-mail theme, and installation of claws-mail theme
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'mk/xdestdir.mk')
-rw-r--r--mk/xdestdir.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/mk/xdestdir.mk b/mk/xdestdir.mk
new file mode 100644
index 0000000..af961b5
--- /dev/null
+++ b/mk/xdestdir.mk
@@ -0,0 +1,6 @@
+XDESTDIR =\
+ $$(if test -n "$(DESTDIR)" && (! printf '%s\n' "$(DESTDIR)" | grep '^/' >/dev/null); then\
+ printf '../%s\n' "$(DESTDIR)";\
+ else\
+ printf '%s\n' "$(DESTDIR)";\
+ fi)