summaryrefslogtreecommitdiff
path: root/demo
diff options
context:
space:
mode:
authorZeeshan Ali (Khattak) <zeeshanak@gnome.org>2014-01-14 14:09:02 +0000
committerZeeshan Ali (Khattak) <zeeshanak@gnome.org>2014-01-14 14:09:02 +0000
commitb2c48ce88877fe0013176635fc7691890205d972 (patch)
treef52813e8a57768b1f4b39d47d8e0ea30ddea224d /demo
parent2c5ef6d9591f13321b22c6a0b8674e9379de2014 (diff)
downloadgeoclue-b2c48ce88877fe0013176635fc7691890205d972.tar.gz
build: Don't disable rules for building demo agent
If demo agent build is disabled, we should only stop it from building and not completely disable all rules to build the files from Makefile. This fixes one of the issue in distcheck.
Diffstat (limited to 'demo')
-rw-r--r--demo/Makefile.am4
1 files changed, 1 insertions, 3 deletions
diff --git a/demo/Makefile.am b/demo/Makefile.am
index 10027e8..9dff978 100644
--- a/demo/Makefile.am
+++ b/demo/Makefile.am
@@ -7,8 +7,8 @@ where_am_i_CFLAGS = $(GEOCLUE_CFLAGS) \
where_am_i_LDADD = $(GEOCLUE_LIBS)
if BUILD_DEMO_AGENT
-
noinst_PROGRAMS += agent
+endif # BUILD_DEMO_AGENT
interface_data = $(top_builddir)/src/agent/geoclue-agent-interface.xml
dbus_built_sources = geoclue-agent-interface.c geoclue-agent-interface.h
@@ -34,6 +34,4 @@ agent_CFLAGS = $(DEMO_AGENT_CFLAGS) \
-DABS_SRCDIR=\""$(abs_srcdir)"\"
agent_LDADD = $(DEMO_AGENT_LIBS)
-endif # BUILD_DEMO_AGENT
-
-include $(top_srcdir)/git.mk