[network-manager-libreswan/th/vpn-editor-split-bgo766623: 18/18] 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-libreswan/th/vpn-editor-split-bgo766623: 18/18] build: don't install appdata when building --without-gnome
- Date: Wed, 18 May 2016 19:03:54 +0000 (UTC)
commit 16496842500efc43504f4b7ce17aee15ce9ddb7a
Author: Thomas Haller <thaller redhat com>
Date: Tue May 10 16:07:03 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 c63f238..0f84fd1 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -28,7 +28,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-libreswan.metainfo.xml.in
@INTLTOOL_XML_RULE@
@@ -42,13 +45,13 @@ DISTCHECK_CONFIGURE_FLAGS = --enable-more-warnings=yes
EXTRA_DIST = nm-libreswan-service.name.in \
$(dbusservice_DATA) \
$(appdata_in_files) \
- $(appdata_DATA) \
+ $(appdata_files) \
intltool-extract.in \
intltool-merge.in \
intltool-update.in
CLEANFILES = $(nmvpnservice_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]