From 0210dd476c9f202a0fd0e8644a0e35a1bd95bff9 Mon Sep 17 00:00:00 2001
From: Patrick Spek
Date: Wed, 20 Apr 2022 12:06:17 +0200
Subject: Update Makefile for FreeBSD
---
Makefile | 7 +++++--
1 file 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
--
cgit v1.1