diff options
author | Patrick Spek <p.spek@tyil.nl> | 2022-04-20 12:45:25 +0200 |
---|---|---|
committer | Patrick Spek <p.spek@tyil.nl> | 2022-04-20 12:45:25 +0200 |
commit | fff6fb24c624d0e434481d641313c196b8254a82 (patch) | |
tree | 299ecd1270b692607fae77090d37f5ca4959d935 | |
parent | 3c0811fb0912aaad6a6e5a41120d66a692c53387 (diff) |
Add ETCDIR to Makefile
-rw-r--r-- | Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -5,6 +5,7 @@ # SPDX-License-Identifier: AGPL-3.0-or-later DESTDIR=/usr +ETCDIR=/etc install: bin lib share @@ -18,6 +19,7 @@ bin: sed \ -e 's@BASHTARD_LIBDIR=.*@BASHTARD_LIBDIR="$(DESTDIR)/lib/bashtard"@' \ -e 's@BASHTARD_SHAREDIR=.*@BASHTARD_SHAREDIR="$(DESTDIR)/share/bashtard"@' \ + -e 's@BASHTARD_ETCDIR=.*@BASHTARD_ETCDIR="$(ETCDIR)/bashtard"@' \ bin/bashtard > "$(DESTDIR)/bin/bashtard" chmod +x "$(DESTDIR)/bin/bashtard" |