[network-manager-openconnect/th/vpn-editor-split-bgo767690: 13/14] build: don't install appdata when building --without-gnome
- From: Thomas Haller <thaller src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-openconnect/th/vpn-editor-split-bgo767690: 13/14] build: don't install appdata when building --without-gnome
- Date: Wed, 15 Jun 2016 13:23:32 +0000 (UTC)
commit eb7c1bb5db3e480a071c284baf443d3e3255d6bb
Author: Thomas Haller <thaller redhat com>
Date: Wed Jun 15 10:08:24 2016 +0200
build: don't install appdata when building --without-gnome
Makefile.am | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index ec05941..5d6d718 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -32,7 +32,10 @@ uninstall-hook:
endif
appdatadir = $(datadir)/appdata
+appdata_files = $(appdata_in_files:.xml.in=.xml)
+if WITH_GNOME
appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+endif
appdata_in_files = appdata/network-manager-openconnect.metainfo.xml.in
@INTLTOOL_XML_RULE@
@@ -48,7 +51,7 @@ EXTRA_DIST = nm-openconnect-service.name.in \
$(desktop_in_files) \
$(icon_DATA) \
$(appdata_in_files) \
- $(appdata_DATA) \
+ $(appdata_files) \
intltool-extract.in \
intltool-merge.in \
intltool-update.in \
@@ -56,7 +59,7 @@ EXTRA_DIST = nm-openconnect-service.name.in \
CLEANFILES = $(nmvpnservice_DATA) \
$(desktop_DATA) \
- $(appdata_DATA)
+ $(appdata_files)
DISTCLEANFILES = intltool-extract intltool-merge intltool-update
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]