SF.net SVN: geany-plugins:[693] trunk/wscript
eht16 at users.sourceforge.net
eht16 at xxxxx
Sat May 30 19:15:28 UTC 2009
Revision: 693
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=693&view=rev
Author: eht16
Date: 2009-05-30 19:15:27 +0000 (Sat, 30 May 2009)
Log Message:
-----------
Fix the usage of the gettext_package Plugin variable.
Add 'distclean' target to the generated Makefile.
Modified Paths:
--------------
trunk/wscript
Modified: trunk/wscript
===================================================================
--- trunk/wscript 2009-05-30 18:40:00 UTC (rev 692)
+++ trunk/wscript 2009-05-30 19:15:27 UTC (rev 693)
@@ -156,6 +156,9 @@
clean:
@./waf clean
+distclean:
+ @./waf distclean
+
.PHONY: clean uninstall install all
'''
@@ -256,7 +259,7 @@
conf.define('PREFIX', conf.env['PREFIX'], 1)
conf.define('DOCDIR', '%s/doc/geany-plugins/%s' % (conf.env['DATADIR'], p.name), 1)
if os.path.exists(os.path.join(p.name, 'po')):
- conf.define('GETTEXT_PACKAGE', p.name, 1)
+ conf.define('GETTEXT_PACKAGE', p.gettext_package, 1)
conf.define('ENABLE_NLS', 1)
else:
conf.undefine('GETTEXT_PACKAGE')
@@ -380,7 +383,7 @@
bld.new_task_gen(
features = 'intltool_po',
podir = os.path.join(p.name, 'po'),
- appname = p.name
+ appname = p.gettext_package
)
install_docs(bld, p.name, 'AUTHORS ChangeLog COPYING NEWS README THANKS TODO'.split())
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Plugins-Commits
mailing list