From 129e04a4508c1dd6afb2dd8c5cb8198aae5997f7 Mon Sep 17 00:00:00 2001 From: Mathieu Bridon Date: Fri, 27 Apr 2018 13:22:53 +0200 Subject: [PATCH] Only install the demo agent desktop file when requested --- demo/Makefile.am | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/demo/Makefile.am b/demo/Makefile.am index b1ac99c..d56c404 100644 --- a/demo/Makefile.am +++ b/demo/Makefile.am @@ -18,8 +18,11 @@ where_am_i_LDADD = $(GEOCLUE_LIBS) \ ../libgeoclue/libgeoclue-2.la appsdir = $(datadir)/applications -apps_DATA = geoclue-where-am-i.desktop \ - geoclue-demo-agent.desktop +apps_DATA = geoclue-where-am-i.desktop + +if BUILD_DEMO_AGENT +apps_DATA += geoclue-demo-agent.desktop +endif @INTLTOOL_DESKTOP_RULE@ -- 2.17.0