summaryrefslogtreecommitdiff
path: root/config.mk
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2017-08-20 15:52:51 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2017-08-20 16:53:50 -0400
commite4b0a9391be1d21ca15d9610b977f989ccee833a (patch)
treea6d697088aa4e4449b6b67cecc8924192923cde9 /config.mk
parent49c77b925af1c205747116a762000d99e192e2c8 (diff)
prepare for autothing
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk12
1 files changed, 12 insertions, 0 deletions
diff --git a/config.mk b/config.mk
new file mode 100644
index 0000000..46cbc00
--- /dev/null
+++ b/config.mk
@@ -0,0 +1,12 @@
+# In addition to the variables in the default version of this file,
+# you may set any of the standard GNU configuration variables.
+ifeq ($(origin topsrcdir),undefined)
+topoutdir := $(patsubst %/,%,$(dir $(lastword $(MAKEFILE_LIST))))
+topsrcdir := $(topoutdir)
+
+collectd_pkgdatadir = $(datadir)/collectd
+collectd_confdir = $(collectd_pkgdatadir)
+collectd_typesdir = $(collectd_pkgdatadir)
+collectd_pythondir = $(collectd_pkgdatadir)
+
+endif