summaryrefslogtreecommitdiff
path: root/polkitgtkmate
diff options
context:
space:
mode:
Diffstat (limited to 'polkitgtkmate')
-rw-r--r--polkitgtkmate/Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/polkitgtkmate/Makefile.am b/polkitgtkmate/Makefile.am
index 706b792..0a543b0 100644
--- a/polkitgtkmate/Makefile.am
+++ b/polkitgtkmate/Makefile.am
@@ -50,6 +50,7 @@ libpolkit_gtk_mate_1_la_LDFLAGS = -version-info $(LT_CURRENT):$(LT_REVISION):$(L
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = polkit-gtk-mate-1.pc
+if BUILD_EXAMPLES
noinst_PROGRAMS = example
example_SOURCES = example.c
@@ -68,6 +69,7 @@ example_LDADD = \
$(INTLLIBS) \
libpolkit-gtk-mate-1.la \
$(NULL)
+endif
if ENABLE_INTROSPECTION
girdir = $(GIRDIR)