aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2022-04-20 12:06:17 +0200
committerPatrick Spek <p.spek@tyil.nl>2022-04-20 12:06:17 +0200
commit0210dd476c9f202a0fd0e8644a0e35a1bd95bff9 (patch)
tree43ef3662785548a9e9ac4b0805b0eddf8a111f66
parentf504acb391c7a49a7e6c7717161ae97782b89c77 (diff)
Update Makefile for FreeBSD
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 4593c5a..1ad4b15 100644
--- a/Makefile
+++ b/Makefile
@@ -19,7 +19,7 @@ bin:
-e 's@BASHTARD_LIBDIR=.*@BASHTARD_LIBDIR="$(DESTDIR)/lib/bashtard"@' \
-e 's@BASHTARD_SHAREDIR=.*@BASHTARD_SHAREDIR="$(DESTDIR)/share/bashtard"@' \
bin/bashtard > "$(DESTDIR)/bin/bashtard"
- chmod +x -- "$(DESTDIR)/bin/bashtard"
+ chmod +x "$(DESTDIR)/bin/bashtard"
lib:
mkdir -pv -- "$(DESTDIR)/lib/bashtard"
@@ -35,6 +35,9 @@ man:
share:
mkdir -pv -- "$(DESTDIR)/share/bashtard"
- cp -rv -- share/{defaults,os.d} "$(DESTDIR)/share/bashtard"
+ cp -rv -- \
+ share/defaults \
+ share/os.d \
+ "$(DESTDIR)/share/bashtard"
.PHONY: install uninstall bin lib man share