summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2018-09-18 17:35:42 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2018-09-18 17:36:03 -0400
commit964db8aa32f68373b13d6900d69a523c1cffa26c (patch)
tree3ed0224b7fae06d671fa89f8067932b4487575a9 /Makefile
parent801adc5df5b99ff9e9f3c06b1a155b36c4000359 (diff)
Makefile: Fix install paths
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 336ec15..c0021ed 100644
--- a/Makefile
+++ b/Makefile
@@ -9,9 +9,9 @@ files.out.all += systemd.conf
#files.out.all += systemd.types.db
#files.out.all += systemd.py
-files.sys.all += $(collectdconfdir)/systemd.conf
-files.sys.all += $(collectdtypesdir)/systemd.types.db
-files.sys.all += $(collectdpythondir)/systemd.py
+files.sys.all += $(collectd_confdir)/systemd.conf
+files.sys.all += $(collectd_typesdir)/systemd.types.db
+files.sys.all += $(collectd_pythondir)/systemd.py
$(outdir)/%: $(srcdir)/%.in
sed $(foreach v,$(patsubst $(var.)%,%,$(filter $(var.)%,$^)), -e 's|@$(v)@|$($(v))|g' ) < $< > $@
@@ -19,11 +19,11 @@ $(outdir)/%: $(srcdir)/%.in
$(outdir)/systemd.conf: $(var.)collectd_typesdir
$(outdir)/systemd.conf: $(var.)collectd_pythondir
-$(DESTDIR)$(collectdconfdir)/systemd.conf: $(outdir)/systemd.conf
+$(DESTDIR)$(collectd_confdir)/systemd.conf: $(outdir)/systemd.conf
$(INSTALL_DATA) -DT $< $@
-$(DESTDIR)$(collectdtypesdir)/systemd.types.db: $(srcdir)/systemd.types.db
+$(DESTDIR)$(collectd_typesdir)/systemd.types.db: $(srcdir)/systemd.types.db
$(INSTALL_DATA) -DT $< $@
-$(DESTDIR)$(collectdpythondir)/systemd.py: $(srcdir)/systemd.py
+$(DESTDIR)$(collectd_pythondir)/systemd.py: $(srcdir)/systemd.py
$(INSTALL_PROGRAM) -DT $< $@
$(srcdir)/LICENSE: