[gthumb/gthumb-2-10] Auto-generate credits from AUTHORS file - bug 581128
- From: Michael J. Chudobiak <mjc src gnome org>
- To: svn-commits-list gnome org
- Subject: [gthumb/gthumb-2-10] Auto-generate credits from AUTHORS file - bug 581128
- Date: Sat, 2 May 2009 16:19:22 -0400 (EDT)
commit e6965e9404a32552843bf953baf784c7c2f1f5fd
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 | 22 +++++-----------------
2 files changed, 12 insertions(+), 17 deletions(-)
diff --git a/src/Makefile.am b/src/Makefile.am
index 41a274f..e07ee07 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -217,6 +217,12 @@ libphotoimporter_la_LDFLAGS = $(MODULE_LIBTOOL_FLAGS)
libphotoimporter_la_LIBADD = $(top_builddir)/libgthumb/jpegutils/libgthumb-jpegutils.la $(top_builddir)/libgthumb/libgthumb.la $(GTHUMB_LIBS) $(EXIF_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 \
@@ -225,6 +231,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 7885366..d279b72 100644
--- a/src/gth-window-actions-callbacks.c
+++ b/src/gth-window-actions-callbacks.c
@@ -877,23 +877,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>",
- "Ignacy GawÄ?dzki <ibugs qult net>",
- "Geoffrey Antos <dynamotwain aim com>",
- 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]