[gthumb: 40/57] [webalbums] make the extension version follow the gthumb version



commit 617a332ad5a4a7c963de344da80e0c8d6624c258
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Thu Jun 17 15:29:05 2010 +0200

    [webalbums] make the extension version follow the gthumb version

 extensions/webalbums/Makefile.am               |    7 ++-----
 extensions/webalbums/webalbums.extension.in.in |    2 +-
 2 files changed, 3 insertions(+), 6 deletions(-)
---
diff --git a/extensions/webalbums/Makefile.am b/extensions/webalbums/Makefile.am
index 52051f0..5c11ead 100644
--- a/extensions/webalbums/Makefile.am
+++ b/extensions/webalbums/Makefile.am
@@ -45,11 +45,8 @@ endif
 
 extensionini_in_files = webalbums.extension.in.in
 
-%.extension.in: %.extension.in.in $(extension_LTLIBRARIES)
-	$(AM_V_GEN)( sed -e "s|%LIBRARY%|`. ./$(extension_LTLIBRARIES) && echo $$dlname`|" \
-	$< > $@ )
-
-%.extension: %.extension.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@
+ GTHUMB_EXTENSION_IN_RULE@
+ GTHUMB_EXTENSION_RULE@
 
 EXTRA_DIST = $(extensionini_in_files)	\
 	albumtheme.c			\
diff --git a/extensions/webalbums/webalbums.extension.in.in b/extensions/webalbums/webalbums.extension.in.in
index f0565a0..6f653b4 100644
--- a/extensions/webalbums/webalbums.extension.in.in
+++ b/extensions/webalbums/webalbums.extension.in.in
@@ -3,7 +3,7 @@ _Name=Web Albums
 _Description=Create static web albums.
 _Authors=gthumb development team
 Copyright=Copyright © 2010 The Free Software Foundation, Inc.
-Version=1.0
+Version=%VERSION%
 Category=Exporter
 
 [Loader]



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