[network-manager-fortisslvpn/th/gtk-split-and-log-bgo771544: 16/26] 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-fortisslvpn/th/gtk-split-and-log-bgo771544: 16/26] build: don't install appdata when building --without-gnome
- Date: Fri, 16 Sep 2016 16:35:21 +0000 (UTC)
commit fbd9475e0367aa45d1064a56b0006d59eabd9442
Author: Thomas Haller <thaller redhat com>
Date: Fri Sep 16 15:31:12 2016 +0200
build: don't install appdata when building --without-gnome
Makefile.am | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 0b3e6a4..0661b10 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -28,7 +28,10 @@ uninstall-hook:
endif
appdatadir = $(datadir)/appdata
-appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+appdata_files = $(appdata_in_files:.xml.in=.xml)
+if WITH_GNOME
+appdata_DATA = $(appdata_files)
+endif
appdata_in_files = appdata/network-manager-fortisslvpn.metainfo.xml.in
@INTLTOOL_XML_RULE@
@@ -45,7 +48,7 @@ EXTRA_DIST = \
$(desktopfile) \
$(iconfile) \
$(appdata_in_files) \
- $(appdata_DATA) \
+ $(appdata_files) \
intltool-extract.in \
intltool-merge.in \
intltool-update.in \
@@ -56,7 +59,7 @@ EXTRA_DIST = \
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]