~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to config/pandora-plugin

  • Committer: Monty Taylor
  • Date: 2010-08-17 22:16:14 UTC
  • mfrom: (1716.1.2 build)
  • Revision ID: mordred@inaugust.com-20100817221614-eq56kgnac60smk3y
Fixed the list of files we ship in the tarballs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
325
325
    else:
326
326
      plugin['default_yesno']="no"
327
327
 
 
328
    if plugin.has_key('extra_dist'):
 
329
      plugin['extra_dist']=" ".join([os.path.join(plugin['rel_path'],f) for f in plugin['extra_dist'].split()])
 
330
 
328
331
 
329
332
    plugin['build_conditional_tag']= "BUILD_%s_PLUGIN" % plugin['name'].upper()
330
333
    plugin['name_with_dashes']= plugin['name'].replace('_','-')
394
397
        sys.exit(1)
395
398
    if not plugin.has_key('version'):
396
399
      plugin['version'] = config['default_plugin_version']
397
 
 
398
400
    if plugin.has_key('load_by_default'):
399
401
      plugin['load_by_default']=parser.getboolean('plugin','load_by_default')
400
402
    if plugin.has_key('disabled'):
410
412
    if plugin.has_key('testsuite'):
411
413
      if plugin['testsuite'] == 'disable':
412
414
        plugin['testsuite']= False
 
415
        plugin['dist_testsuite']= find_testsuite(plugin_dir)
413
416
    else:
414
417
      plugin_testsuite= find_testsuite(plugin_dir)
415
418
      plugin['testsuitedir']=plugin_testsuite
471
474
%(rel_path)s/plugin.ini:
472
475
 
473
476
""" % plugin)
 
477
  if plugin.has_key('extra_dist') and plugin['extra_dist'] != "":
 
478
    plugin_am.write("EXTRA_DIST += %(extra_dist)s\n" % plugin)
474
479
  if plugin['headers'] != "":
475
480
    plugin_am.write("noinst_HEADERS += %(headers)s\n" % plugin)
476
481
  if plugin['install_headers'] != "":
478
483
  if plugin['testsuite']:
479
484
    if plugin.has_key('testsuitedir') and plugin['testsuitedir'] != "":
480
485
      plugin_am.write("EXTRA_DIST += %(rel_path)s/%(testsuitedir)s\n" % plugin)
 
486
  if plugin.has_key('dist_testsuite') and plugin['dist_testsuite'] != "":
 
487
    plugin_am.write("EXTRA_DIST += %(rel_path)s/%(dist_testsuite)s\n" % plugin)
481
488
  if plugin['static']:
482
489
    plugin_am.write("""
483
490
%(root_plugin_dir)s_%(plugin_prefix)s%(name)s_dir=${top_srcdir}/%(rel_path)s