[gnome-session] gnome-session-selector: only install .ui and man pages when building with --enable-session-selector.
- From: Dominique Leuenberger <dleuen src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-session] gnome-session-selector: only install .ui and man pages when building with --enable-session-selector.
- Date: Thu, 7 Feb 2013 06:56:20 +0000 (UTC)
commit 307e72370b157dece4bfb6c62e2f2d3d4e9fe733
Author: Dominique Leuenberger <dimstar opensuse org>
Date: Tue Feb 5 17:01:31 2013 +0100
gnome-session-selector: only install .ui and man pages when building with --enable-session-selector.
Fixes bug 693210.
data/Makefile.am | 7 +++++--
doc/man/Makefile.am | 7 +++++--
2 files changed, 10 insertions(+), 4 deletions(-)
---
diff --git a/data/Makefile.am b/data/Makefile.am
index 48e24ee..3abcf26 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -3,8 +3,11 @@ SUBDIRS = icons
uidir = $(pkgdatadir)
ui_DATA = \
session-properties.ui \
- gsm-inhibit-dialog.ui \
- session-selector.ui
+ gsm-inhibit-dialog.ui
+
+if BUILD_SESSION_SELECTOR
+ui_DATA += session-selector.ui
+endif
hwcompatdir = $(pkgdatadir)
hwcompat_DATA = hardware-compatibility
diff --git a/doc/man/Makefile.am b/doc/man/Makefile.am
index bad78f2..2879423 100644
--- a/doc/man/Makefile.am
+++ b/doc/man/Makefile.am
@@ -13,8 +13,11 @@ man_MANS = \
gnome-session.1 \
gnome-session-properties.1 \
gnome-session-quit.1 \
- gnome-session-inhibit.1 \
- gnome-session-selector.1
+ gnome-session-inhibit.1
+
+if BUILD_SESSION_SELECTOR
+man_MANS += gnome-session-selector.1
+endif
EXTRA_DIST = \
gnome-session-inhibit.xml \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]