aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-06-29 18:39:30 +0200
committerJohn Ankarström <john@ankarstrom.se>2021-06-29 18:39:30 +0200
commit8a00961524ba5bf2a65eaab1ccc496cf02471280 (patch)
tree28c7165921fbc8cc7f33509eeaabff88ecd6bf75 /Makefile
parent657104d7ff9ced7908a2dcf398ccee6b06fac3a6 (diff)
downloadxutil-8a00961524ba5bf2a65eaab1ccc496cf02471280.tar.gz
Add 're!' utility
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 20f5c13..3c3e014 100644
--- a/Makefile
+++ b/Makefile
@@ -15,8 +15,9 @@ EXEC != ls -l | perl -ne ' \
} \
} \
'
+IEXEC != echo $(EXEC) | sed -E 's,^| ,&/usr/local/bin/,g'
install:
install -m 644 *.1 /usr/local/man/man1/
install $(EXEC) /usr/local/bin
- ./re! `echo $(EXEC) | sed -E 's,^| ,&/usr/local/bin/,g'`
+ re! $(IEXEC)