Revision: 748 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=748&view=rev Author: eht16 Date: 2009-06-16 21:17:06 +0000 (Tue, 16 Jun 2009)
Log Message: ----------- Fix more DOCDIR issues. Install GeanyLatex documentation.
Modified Paths: -------------- trunk/geany-plugins/wscript
Modified: trunk/geany-plugins/wscript =================================================================== --- trunk/geany-plugins/wscript 2009-06-15 20:12:06 UTC (rev 747) +++ trunk/geany-plugins/wscript 2009-06-16 21:17:06 UTC (rev 748) @@ -41,7 +41,7 @@
APPNAME = 'geany-plugins' -VERSION = '0.1' +VERSION = '0.17'
srcdir = '.' blddir = '_build_' @@ -375,20 +375,20 @@
def install_docs(bld, pname, files): ext = '.txt' if is_win32 else '' + docdir = '${G_PREFIX}/doc/%s' % pname if is_win32 else '${DOCDIR}/%s' % pname for file in files: if os.path.exists(os.path.join(p.name, file)): - if is_win32: - filename = '%s/%s' % (pname, file) - bld.install_as( - '${G_PREFIX}/doc/%s%s' % (ucFirst(filename, is_win32), ext), - filename) - else: - bld.install_files( - '${DATADIR}/doc/geany-plugins/%s' % pname, '%s/%s' % (pname, file)) + bld.install_as( + '%s/%s%s' % (docdir, ucFirst(file, is_win32), ext), + '%s/%s' % (pname, file)) + if pname == 'geanylatex': + bld.install_files('%s' % docdir, 'geanylatex/doc/geanylatex.*') + bld.install_files('%s/img' % docdir, 'geanylatex/doc/img/*.png')
+ for p in plugins: if not p.name in bld.env['enabled_plugins']: - continue; + continue
libs = 'GTK GEANY' # common for all plugins for l in p.libs: # add plugin specific libs
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
plugins-commits@lists.geany.org