Commit 1dc88d58 authored by Zeeshan Ali's avatar Zeeshan Ali

config: Move configuration file under geoclue subdir

We'll soon be adding more files under there.
parent 7d857264
sysconf_in_files = geoclue.conf.in
sysconf_DATA = $(sysconf_in_files:.conf.in=.conf)
systemconfdir = $(sysconfdir)/geoclue
systemconf_in_files = geoclue.conf.in
systemconf_DATA = $(systemconf_in_files:.conf.in=.conf)
if BUILD_DEMO_AGENT
$(sysconf_DATA): $(sysconf_in_files) Makefile
$(systemconf_DATA): $(systemconf_in_files) Makefile
@sed -e \
"s|\@demo_agent\@|geoclue-demo-agent;|" \
$< > $@
else
$(sysconf_DATA): $(sysconf_in_files) Makefile
$(systemconf_DATA): $(systemconf_in_files) Makefile
@sed -e "s|\@demo_agent\@||" $< > $@
endif
......@@ -36,11 +37,11 @@ $(systemdservice_DATA): $(systemdservice_in_files) Makefile
endif
DISTCLEANFILES = $(service_DATA) \
$(sysconf_DATA) \
$(systemconf_DATA) \
$(systemdservice_DATA)
EXTRA_DIST = $(service_in_files) \
$(systemdservice_in_files) \
$(dbusservice_DATA) \
$(sysconf_in_files)
$(systemconf_in_files)
-include $(top_srcdir)/git.mk
......@@ -24,7 +24,7 @@
#include "gclue-config.h"
#define CONFIG_FILE_PATH SYSCONFDIR "/geoclue.conf"
#define CONFIG_FILE_PATH SYSCONFDIR "/geoclue/geoclue.conf"
/* This class will be responsible for fetching configuration. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment