aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2021-11-03 09:16:16 +0000
committermerakor <cem@ckyln.com>2021-11-03 09:16:16 +0000
commitff58b810dcbf96e94571c9e339c08a3cef2d713f (patch)
treebb26bdc31be74fe66d31d19b77469c2820f84765 /Makefile
parentde85a3911d03e818743f83ea118b224f6d765c1b (diff)
downloadcpt-ff58b810dcbf96e94571c9e339c08a3cef2d713f.tar.gz
cpt-lib: define a dedicated cpt configuration directory and change cpt base location
FossilOrigin-Name: aae615102f854abbce81b3a07511b5a29450b673309c834071bc69a7791a226a
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
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 $@