[gnome-games] build: Add update-gameinfo to PlayStation plugin



commit 09ecd0a066fc762954f38bdc6addae85371765b2
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Fri Sep 2 20:17:21 2016 +0200

    build: Add update-gameinfo to PlayStation plugin
    
    Add the 'update-gameinfo' make rule to the PlayStation plugin.
    
    This allow to easily update the PlayStation Gameinfo document.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=770192

 plugins/playstation/Makefile.am |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/plugins/playstation/Makefile.am b/plugins/playstation/Makefile.am
index 1555c85..aa6e018 100644
--- a/plugins/playstation/Makefile.am
+++ b/plugins/playstation/Makefile.am
@@ -1,3 +1,14 @@
 SUBDIRS = data src
 
+gameinfo_dir = $(top_srcdir)/tools/gameinfo
+tmp_gameinfo_doc = $(gameinfo_dir)/out/playstation.gameinfo.xml.in.tmp
+gameinfo_doc = $(srcdir)/data/playstation.gameinfo.xml.in
+
+update-gameinfo:
+       $(gameinfo_dir)/psxdatacenter-gameinfo.py
+       $(gameinfo_dir)/sort.py $(gameinfo_doc)
+       $(gameinfo_dir)/merge.py $(tmp_gameinfo_doc) $(gameinfo_doc) $(gameinfo_doc)
+
+.PHONY: update-gameinfo
+
 include $(top_srcdir)/git.mk


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]