about summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
authorclassabbyamp <void@placeviolette.net>2024-02-06 12:41:51 -0800
committerLeah Neukirchen <leah@vuxu.org>2024-02-07 23:50:27 +0100
commitee7c68cef40403cf654ecf4a8c55a348be28fd90 (patch)
treee7e6f0a64c74321bdbdefb70439bbf38e4619b21 /Makefile
parent45cf3ff916a551f42c6bcb2e2101042b58cd0ef8 (diff)
downloadxtools-ee7c68cef40403cf654ecf4a8c55a348be28fd90.tar.gz
xtools-ee7c68cef40403cf654ecf4a8c55a348be28fd90.tar.xz
xtools-ee7c68cef40403cf654ecf4a8c55a348be28fd90.zip
xls: show tree(1)-style output if called as xtree
Closes: #321 [via git-merge-pr]
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 63fbf37..507cb2e 100644
--- a/Makefile
+++ b/Makefile
@@ -5,6 +5,8 @@ all:
 
 install:
 	for f in x*[!~1]; do install -Dm0755 $$f $(DESTDIR)$(PREFIX)/bin/$$f; done
+	# install dereferences symlinks
+	ln -sf xls $(DESTDIR)$(PREFIX)/bin/xtree
 	install -Dm644 _xtools $(DESTDIR)/$(PREFIX)/share/zsh/site-functions/_xtools
 	install -Dm644 -t $(DESTDIR)/$(PREFIX)/share/fish/vendor_completions.d -D fish/completions/*
 	install -Dm644 -t $(DESTDIR)/$(PREFIX)/share/fish/vendor_functions.d -D fish/functions/*