~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Jonathan Lange
  • Date: 2011-02-18 16:59:16 UTC
  • mto: This revision was merged to the branch mainline in revision 12472.
  • Revision ID: jml@canonical.com-20110218165916-fho1wo7kiw49lii0
Move the snakefood stuff to a different directory, it's hardly core competency.

Show diffs side-by-side

added added

removed removed

Lines of Context:
402
402
        # /var/tmp/launchpad_mailqueue is created read-only on ec2test
403
403
        # instances.
404
404
        if [ -w /var/tmp/launchpad_mailqueue ]; then $(RM) -rf /var/tmp/launchpad_mailqueue; fi
405
 
        $(RM) -f lp.sfood lp-clustered.sfood lp-clustered.dot lp-clustered.svg
406
405
 
407
406
 
408
407
realclean: clean
457
456
        # idutils ID file
458
457
        bin/tags -i
459
458
 
460
 
lp.sfood:
461
 
        # Generate import dependency graph
462
 
        sfood -i -u -I lib/sqlobject -I lib/schoolbell -I lib/devscripts \
463
 
        -I lib/contrib -I lib/canonical/not-used lib/canonical \
464
 
        lib/lp 2>/dev/null | grep -v contrib/ \
465
 
        | grep -v sqlobject | grep -v BeautifulSoup | grep -v psycopg \
466
 
        | grep -v schoolbell > lp.sfood.tmp
467
 
        mv lp.sfood.tmp lp.sfood
468
 
 
469
 
 
470
 
lp-clustered.sfood: lp.sfood lp-sfood-packages
471
 
        # Cluster the import dependency graph
472
 
        sfood-cluster -f lp-sfood-packages < lp.sfood > lp-clustered.sfood.tmp
473
 
        mv lp-clustered.sfood.tmp lp-clustered.sfood
474
 
 
475
 
 
476
 
lp-clustered.dot: lp-clustered.sfood
477
 
        # Build the visual graph
478
 
        sfood-graph -p < lp-clustered.sfood > lp-clustered.dot.tmp
479
 
        mv lp-clustered.dot.tmp lp-clustered.dot
480
 
 
481
 
 
482
 
lp-clustered.svg: lp-clustered.dot
483
 
        # Render to svg
484
 
        dot -Tsvg < lp-clustered.dot > lp-clustered.svg.tmp
485
 
        mv lp-clustered.svg.tmp lp-clustered.svg
486
 
 
487
459
PYDOCTOR = pydoctor
488
460
PYDOCTOR_OPTIONS =
489
461