[recipes] Extract strings from the included recipes



commit c6cf22ea09f24a898944cc4e0b50f5431ac475d8
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Dec 30 15:58:40 2016 -0500

    Extract strings from the included recipes

 data/Makefile.am |    7 ++++++-
 po/POTFILES.in   |    3 +++
 2 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/data/Makefile.am b/data/Makefile.am
index 7e6c9ed..8a8601c 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -3,7 +3,12 @@
 EXTRA_DIST =
 CLEANFILES =
 
-EXTRA_DIST += ingredients.list
+EXTRA_DIST += ingredients.list recipes.db.h
+
+BUILT_SOURCES = recipes.db.h
+
+recipes.db.h: $(top_srcdir)/data/recipes.db
+       $(AM_V_GEN) $(top_builddir)/tools/recipe-extract $^ > $@
 
 desktopdir = $(datadir)/applications
 
diff --git a/po/POTFILES.in b/po/POTFILES.in
index ea2be4d..7645bdb 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -1,5 +1,6 @@
 data/org.gnome.Recipes.desktop.in
 data/appdata/org.gnome.Recipes.appdata.xml.in
+data/recipes.db.h
 src/chef-conflict-dialog.ui
 src/gr-category-tile.ui
 src/gr-chef-tile.ui
@@ -58,3 +59,5 @@ src/gr-season.c
 src/gr-unit.c
 src/gr-utils.c
 src/gr-window.c
+src/ingredients.c
+src/no-ingredients.c


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