[gnome-software] trivial: Split out ubuntu-reviews to a new directory
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] trivial: Split out ubuntu-reviews to a new directory
- Date: Tue, 7 Mar 2017 17:04:44 +0000 (UTC)
commit 3930aba78bdfdca02b0fe56a0498a04131da3af0
Author: Richard Hughes <richard hughsie com>
Date: Tue Mar 7 11:53:29 2017 +0000
trivial: Split out ubuntu-reviews to a new directory
configure.ac | 1 +
plugins/Makefile.am | 24 +++----------------
plugins/ubuntu-reviews/Makefile.am | 16 +++++++++++++
.../gs-plugin-ubuntu-reviews.c | 0
4 files changed, 21 insertions(+), 20 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 7f8f24d..d5fefd8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -509,6 +509,7 @@ plugins/Makefile
plugins/limba/Makefile
plugins/odrs/Makefile
plugins/steam/Makefile
+plugins/ubuntu-reviews/Makefile
src/Makefile
tests/Makefile
])
diff --git a/plugins/Makefile.am b/plugins/Makefile.am
index f8254c2..495558e 100644
--- a/plugins/Makefile.am
+++ b/plugins/Makefile.am
@@ -15,6 +15,10 @@ if HAVE_STEAM
SUBDIRS += steam
endif
+if HAVE_UBUNTU_REVIEWS
+SUBDIRS += ubuntu-reviews
+endif
+
AM_CPPFLAGS = \
-DI_KNOW_THE_PACKAGEKIT_GLIB2_API_IS_SUBJECT_TO_CHANGE \
-DDATADIR=\"$(datadir)\" \
@@ -81,10 +85,6 @@ if HAVE_GUDEV
plugin_LTLIBRARIES += libgs_plugin_modalias.la
endif
-if HAVE_UBUNTU_REVIEWS
-plugin_LTLIBRARIES += libgs_plugin_ubuntu-reviews.la
-endif
-
if HAVE_SHELL_EXTENSIONS
plugin_LTLIBRARIES += libgs_plugin_shell-extensions.la
endif
@@ -256,22 +256,6 @@ libgs_plugin_hardcoded_featured_la_LIBADD = $(GS_PLUGIN_LIBS)
libgs_plugin_hardcoded_featured_la_LDFLAGS = -module -avoid-version
libgs_plugin_hardcoded_featured_la_CFLAGS = $(GS_PLUGIN_CFLAGS)
-if HAVE_UBUNTU_REVIEWS
-libgs_plugin_ubuntu_reviews_la_SOURCES = \
- gs-plugin-ubuntu-reviews.c
-libgs_plugin_ubuntu_reviews_la_LIBADD = \
- $(GS_PLUGIN_LIBS) \
- $(JSON_GLIB_LIBS) \
- $(SQLITE_LIBS) \
- $(OAUTH_LIBS)
-libgs_plugin_ubuntu_reviews_la_LDFLAGS = -module -avoid-version
-libgs_plugin_ubuntu_reviews_la_CFLAGS = \
- $(GS_PLUGIN_CFLAGS) \
- $(JSON_GLIB_CFLAGS) \
- $(OAUTH_CFLAGS) \
- $(SQLITE_CFLAGS)
-endif
-
libgs_plugin_packagekit_la_SOURCES = \
gs-plugin-packagekit.c \
packagekit-common.c \
diff --git a/plugins/ubuntu-reviews/Makefile.am b/plugins/ubuntu-reviews/Makefile.am
new file mode 100644
index 0000000..24da6b9
--- /dev/null
+++ b/plugins/ubuntu-reviews/Makefile.am
@@ -0,0 +1,16 @@
+plugindir = $(GS_PLUGIN_DIR)
+plugin_LTLIBRARIES = libgs_plugin_ubuntu-reviews.la
+
+libgs_plugin_ubuntu_reviews_la_SOURCES = gs-plugin-ubuntu-reviews.c
+libgs_plugin_ubuntu_reviews_la_LIBADD = \
+ $(GS_PLUGIN_LIBS) \
+ $(JSON_GLIB_LIBS) \
+ $(SQLITE_LIBS) \
+ $(OAUTH_LIBS)
+libgs_plugin_ubuntu_reviews_la_LDFLAGS = -module -avoid-version
+ $(GS_PLUGIN_CFLAGS) \
+ $(JSON_GLIB_CFLAGS) \
+ $(OAUTH_CFLAGS) \
+ $(SQLITE_CFLAGS)
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/gs-plugin-ubuntu-reviews.c b/plugins/ubuntu-reviews/gs-plugin-ubuntu-reviews.c
similarity index 100%
rename from plugins/gs-plugin-ubuntu-reviews.c
rename to plugins/ubuntu-reviews/gs-plugin-ubuntu-reviews.c
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]