[gnome-builder] build: fix distcheck for i18n



commit d7850541f25e8097e2223ad13a9840fb86c0ec53
Author: Christian Hergert <christian hergert me>
Date:   Tue Jan 20 21:15:01 2015 -0800

    build: fix distcheck for i18n

 .gitignore       |    3 ++
 Makefile.am      |   14 +++++++++-
 autogen.sh       |    2 +-
 po/POTFILES.in   |   77 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 po/POTFILES.skip |    2 +
 5 files changed, 96 insertions(+), 2 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 4afbeff..0743e0f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -19,6 +19,9 @@ config.log
 config.status
 configure
 gnome-builder
+intltool-extract.in
+intltool-merge.in
+intltool-update.in
 libgnome-builder.la
 libtool
 stamp-h1
diff --git a/Makefile.am b/Makefile.am
index 9fbde5e..b5eeb91 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -12,8 +12,20 @@ include tests/tests.mk
 
 # XXX: Not happy about this, need to come up with a good way to do
 # icon installation that doesn't require subdirs.
-SUBDIRS = . data/icons
+SUBDIRS = . data/icons po
 
 EXTRA_DIST += \
        tap-driver.sh \
        tap-test
+
+INTLTOOL_FILES = \
+       intltool-extract.in \
+       intltool-merge.in \
+       intltool-update.in \
+       $(NULL)
+
+EXTRA_DIST += \
+       $(INTLTOOL_FILES) \
+       AUTHORS \
+       $(NULL)
+
diff --git a/autogen.sh b/autogen.sh
index 90913b8..0c267f4 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -31,7 +31,7 @@ for group in ac am config lt output print; do
 done
 
 # Run autoconf to build configure.
-intltoolize --automake
+intltoolize --automake --copy
 autoreconf --force --install --verbose -I build/autotools ${ACLOCAL_FLAGS} || exit $?
 
 # Remove that pesky autom4te.cache
diff --git a/po/POTFILES.in b/po/POTFILES.in
index e69de29..2cb44bd 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -0,0 +1,77 @@
+src/animation/gb-animation.c
+src/app/gb-application.c
+src/auto-indent/gb-source-auto-indenter-c.c
+src/code-assistant/gb-source-code-assistant-renderer.c
+src/code-assistant/gb-source-code-assistant.c
+src/commands/gb-command-bar-item.c
+src/commands/gb-command-bar.c
+src/commands/gb-command-gaction.c
+src/commands/gb-command-provider.c
+src/commands/gb-command-result.c
+src/commands/gb-command-vim.c
+src/credits/gb-credits-widget.c
+src/devhelp/gb-devhelp-document.c
+src/devhelp/gb-devhelp-view.c
+src/dialogs/gb-close-confirmation-dialog.c
+src/documents/gb-document-grid.c
+src/documents/gb-document-manager.c
+src/documents/gb-document-menu-button.c
+src/documents/gb-document-stack.c
+src/documents/gb-document-view.c
+src/documents/gb-document.c
+src/editor/gb-editor-document.c
+src/editor/gb-editor-file-mark.c
+src/editor/gb-editor-frame.c
+src/editor/gb-editor-navigation-item.c
+src/editor/gb-editor-settings-widget.c
+src/editor/gb-editor-view.c
+src/editor/gb-editor-workspace.c
+src/editor/gb-source-change-gutter-renderer.c
+src/editor/gb-source-change-monitor.c
+src/editor/gb-source-formatter.c
+src/editor/gb-source-search-highlighter.c
+src/editor/gb-source-view.c
+src/gd/gd-tagged-entry.c
+src/gedit/gedit-menu-stack-switcher.c
+src/git/gb-git-search-provider.c
+src/html/gb-html-document.c
+src/html/gb-html-view.c
+src/main.c
+src/nautilus/nautilus-floating-bar.c
+src/navigation/gb-navigation-item.c
+src/navigation/gb-navigation-list.c
+src/preferences/gb-preferences-page-editor.c
+src/preferences/gb-preferences-page-git.c
+src/preferences/gb-preferences-page-vim.c
+src/preferences/gb-preferences-page.c
+src/resources/gtk/menus.ui
+src/resources/ui/gb-credits-widget.ui
+src/resources/ui/gb-document-menu-button.ui
+src/resources/ui/gb-editor-frame.ui
+src/resources/ui/gb-editor-settings-widget.ui
+src/resources/ui/gb-editor-tweak-widget.ui
+src/resources/ui/gb-editor-view.ui
+src/resources/ui/gb-preferences-page-editor.ui
+src/resources/ui/gb-preferences-page-git.ui
+src/resources/ui/gb-preferences-page-vim.ui
+src/resources/ui/gb-preferences-window.ui
+src/resources/ui/gb-workbench.ui
+src/scrolledwindow/gb-scrolled-window.c
+src/search/gb-search-box.c
+src/search/gb-search-display-group.c
+src/search/gb-search-display-row.c
+src/search/gb-search-display.c
+src/search/gb-search-result.c
+src/snippets/gb-source-snippet-chunk.c
+src/snippets/gb-source-snippet-completion-item.c
+src/snippets/gb-source-snippet-completion-provider.c
+src/snippets/gb-source-snippet-parser.c
+src/snippets/gb-source-snippet.c
+src/snippets/gb-source-snippets-manager.c
+src/theatrics/gb-box-theatric.c
+src/tree/gb-tree-builder.c
+src/tree/gb-tree-node.c
+src/tree/gb-tree.c
+src/trie/trie.c
+src/workbench/gb-workbench.c
+src/workbench/gb-workspace.c
diff --git a/po/POTFILES.skip b/po/POTFILES.skip
index e69de29..09f7bbe 100644
--- a/po/POTFILES.skip
+++ b/po/POTFILES.skip
@@ -0,0 +1,2 @@
+data/styles/builder-dark.xml
+data/styles/builder.xml


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