summaryrefslogtreecommitdiff
path: root/config.mk
diff options
context:
space:
mode:
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