summaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2023-10-08 12:09:20 -0400
committerJesse Luehrs <doy@tozt.net>2023-10-08 12:59:10 -0400
commit49570c8dd03448240897b37b68567352b790f16f (patch)
tree6c192a52046d5d0dd1b84a838befd8e777cfeafb /install
parent66939c71da756c1d9e07a88a4a8ea2a018650060 (diff)
downloadconf-49570c8dd03448240897b37b68567352b790f16f.tar.gz
conf-49570c8dd03448240897b37b68567352b790f16f.zip
convert to stow
Diffstat (limited to 'install')
-rwxr-xr-xinstall10
1 files changed, 10 insertions, 0 deletions
diff --git a/install b/install
new file mode 100755
index 0000000..2216e66
--- /dev/null
+++ b/install
@@ -0,0 +1,10 @@
+#!/bin/sh
+set -eu
+
+[ -d "$1" ] || (echo "package $1 not found" >&2; exit 1)
+
+./build "$1"
+stow "$1"
+[ -f "$1/Makefile" ] && (cd "$1" && make -s install)
+
+true