From ff58b810dcbf96e94571c9e339c08a3cef2d713f Mon Sep 17 00:00:00 2001
From: merakor <cem@ckyln.com>
Date: Wed, 3 Nov 2021 09:16:16 +0000
Subject: cpt-lib: define a dedicated cpt configuration directory and change
 cpt base location

FossilOrigin-Name: aae615102f854abbce81b3a07511b5a29450b673309c834071bc69a7791a226a
---
 Makefile | 1 +
 1 file changed, 1 insertion(+)

(limited to 'Makefile')

diff --git a/Makefile b/Makefile
index 691caf6..108138c 100644
--- a/Makefile
+++ b/Makefile
@@ -13,6 +13,7 @@ src/cpt-lib: src/cpt-lib.in
 	sed -n '/^Copyright/{s,^,        ",;s,$$," \\,;p}' LICENSE | \
 	sed -e '/@LICENSE@/r /dev/stdin' \
 		-e '/@LICENSE@/d' \
+		-e 's|@SYSCONFDIR@|${SYSCONFDIR}|g' \
 		-e "s|@VERSION@|${VERSION}|g" \
 		-e "s|@DOCSTRING@|Call functions from the library|g" src/cpt-lib.in > $@
 	chmod 755 $@
-- 
cgit v1.2.3