summaryrefslogtreecommitdiff
path: root/polkitgtkmate/Makefile.am
diff options
context:
space:
mode:
authorinfirit <infirit@gmail.com>2015-09-13 13:26:17 +0200
committerinfirit <infirit@gmail.com>2015-09-13 13:26:17 +0200
commit460f1d0a1a06e68c56e4265cb00dc86d4d194f78 (patch)
tree69ee1f408d75f3b6a4d5eaaa28993cecc9ac10ec /polkitgtkmate/Makefile.am
parent7ffd66a7e52ec1cc899755176af340b0af699ed4 (diff)
downloadmate-polkit-460f1d0a1a06e68c56e4265cb00dc86d4d194f78.tar.bz2
mate-polkit-460f1d0a1a06e68c56e4265cb00dc86d4d194f78.tar.xz
Restore --enable-examples and fix Makefile.am
Diffstat (limited to 'polkitgtkmate/Makefile.am')
-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)