summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2016-12-11 16:26:11 +0100
committerErich Eckner <git@eckner.net>2016-12-11 16:26:11 +0100
commitf4012ec67c226c359e8452cd52f1f75130d9c2e5 (patch)
treeef79dea6dd5294c62625273994ca934e0411c3d1
parenta6ec5b6bb492fc69c2dbb6d5c6a30a166290fe95 (diff)
downloadbash-completion-extras-f4012ec67c226c359e8452cd52f1f75130d9c2e5.tar.xz
find destination directory automatically
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index afd30cb..6c985ce 100644
--- a/Makefile
+++ b/Makefile
@@ -20,7 +20,7 @@
#
DESTDIR =
-COMPDIR = /usr/share/bash-completion/completions
+COMPDIR = $(shell pkg-config --variable=completionsdir bash-completion)
VERSION = 0.0