aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorYour Name <you@example.com>2021-05-06 17:00:00 -0400
committerYour Name <you@example.com>2021-05-06 17:00:00 -0400
commitbf6db4e57895430d84503e800cec9e8b407212a8 (patch)
treebc21559fc0bff2ad616c5d69a45b5a22cc8cea60 /configure
parent5ed030a38810e4a3bb9c969db6892065581340c6 (diff)
downloaddmtool-bf6db4e57895430d84503e800cec9e8b407212a8.tar.gz
dmtool-bf6db4e57895430d84503e800cec9e8b407212a8.tar.bz2
dmtool-bf6db4e57895430d84503e800cec9e8b407212a8.zip
Added a real configuration file (plus a dependency on libconfuse)
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 3 insertions, 2 deletions
diff --git a/configure b/configure
index 70217f2..5000f93 100755
--- a/configure
+++ b/configure
@@ -8,7 +8,7 @@ EXECUTABLE="dmtool"
LIBRARY=
# List of libs as given to pkg-config
-LIBS=
+LIBS="libconfuse"
CFLAGS="-c -Wall -fPIC -std=c++20"
@@ -28,7 +28,8 @@ install: \$(EXECUTABLE) parsed
cp -r parsed/* \$(DESTDIR)\$(PREFIX)/share/dmtool/
install -d \$(DESTDIR)\$(PREFIX)/bin/
install -m 755 \$(EXECUTABLE) \$(DESTDIR)\$(PREFIX)/bin/
- install -m 644 src/dmtool.bash `pkg-config --variable=completionsdir bash-completion`/dmtool
+ install -m 644 files/dmtool.bash \$(DESTDIR)`pkg-config --variable=completionsdir bash-completion`/dmtool
+ install -m 644 files/dmtool.conf \$(DESTDIR)/etc/dmtool.conf
"
# Below here shouldn't need editing