[gthumb] Auto-generate credits from AUTHORS file - bug 581128
- From: Michael J. Chudobiak <mjc src gnome org>
- To: svn-commits-list gnome org
- Subject: [gthumb] Auto-generate credits from AUTHORS file - bug 581128
- Date: Sat, 2 May 2009 16:11:12 -0400 (EDT)
commit 86b2eac72406efdc83be6d998d3de841cdfdc5ff
Author: Marc Pavot <marc pavot gmail com>
Date: Sat May 2 16:10:31 2009 -0400
Auto-generate credits from AUTHORS file - bug 581128
---
src/Makefile.am | 7 +++++++
src/gth-window-actions-callbacks.c | 32 +++++---------------------------
2 files changed, 12 insertions(+), 27 deletions(-)
diff --git a/src/Makefile.am b/src/Makefile.am
index c90ca62..df3ffb1 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -218,6 +218,12 @@ libphotoimporter_la_LDFLAGS = $(MODULE_LIBTOOL_FLAGS)
libphotoimporter_la_LIBADD = $(top_builddir)/libgthumb/jpegutils/libgthumb-jpegutils.la $(top_builddir)/libgthumb/libgthumb.la $(GTHUMB_LIBS) $(JPEG_LIBS) $(GPHOTO_LIBS)
libphotoimporter_la_DEPENDENCIES = gthumb$(EXEEXT)
+AUTHORS.tab : $(top_srcdir)/AUTHORS
+ sed -e 's/^/"/' -e 's/$$/",/' < $(top_srcdir)/AUTHORS > $ tmp
+ mv $ tmp $@
+
+BUILT_SOURCES = AUTHORS.tab
+
EXTRA_DIST = \
GNOME_GThumb.idl \
albumtheme.c \
@@ -226,6 +232,7 @@ EXTRA_DIST = \
lex.albumtheme.c
CLEANFILES = \
+ $(BUILT_SOURCES) \
$(gnome_gthumb_idl_sources) \
gnome_gthumb_idl_stamp
diff --git a/src/gth-window-actions-callbacks.c b/src/gth-window-actions-callbacks.c
index 371ef0f..9782b08 100644
--- a/src/gth-window-actions-callbacks.c
+++ b/src/gth-window-actions-callbacks.c
@@ -854,33 +854,11 @@ gth_window_activate_action_help_about (GtkAction *action,
gpointer data)
{
GthWindow *window = GTH_WINDOW (data);
- const char *authors[] = {
- "Paolo Bacchilega <paobac svn gnome org>",
- "Michael J. Chudobiak <mjc svn gnome org>",
- "",
- "Josua Groeger <fractalus gmx net>",
- "Chauk-Mean Proum <chaukmean free fr>",
- "Jason Tackaberry <tack auc ca>",
- "Martin Ebourne <martin zepler org>",
- "Manuel Braga <mnulbga gmail com>",
- "Jef Driesen <jefdriesen hotmail com>",
- "Rennie deGraaf <degraaf cpsc ucalgary ca>",
- "Joakim Larsson <joakim bildrulle nu>",
- "Christophe Bisière <bisiere univ-tlse1 fr>",
- "Ulisse Perusin <uli peru gmail com>",
- "Ignacy GawÄ?dzki <ibugs qult net>",
- "Roalt Aalmoes <gnome roalt com>",
- "Geoffrey Antos <dynamotwain aim com>",
- "Michael Lester <element3260 gmail com>",
- "Martin SchmeiÃ?er <Waschbaehr gmx de>",
- "Sean Hunt <rideau3 gmail com>",
- "Natan Yellin <aantny gmail com>",
- "Adrien Bustany <madcat mymadcat com>",
- "David Turner <cillian64 googlemail com>",
- "Dor Fire <dorfire gmail com>",
- "Gabriel Falcão <gabriel nacaolivre org>",
- NULL
- };
+ const char *authors[] = {
+#include "AUTHORS.tab"
+ "",
+ NULL
+ };
const char *documenters [] = {
"Paolo Bacchilega",
"Alexander Kirillov",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]