~xnox/ubiquity/fix-value-errors

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Dmitrijs Ledkovs
  • Date: 2012-09-24 10:24:23 UTC
  • mfrom: (5651.1.29 trunk)
  • Revision ID: dmitrijs.ledkovs@canonical.com-20120924102423-hnsl11gra0u43pxg
catch up from trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
 
43
43
check:
44
44
        # Sanity-check before upload.
45
 
        find -name debian -prune -o -name \*.py -print | xargs pycompile
 
45
        find -name debian -prune -o -name \*.py -print | xargs py3compile
46
46
        find -type f \( -name \*.pyc -o -name \*.pyo \) -print0 | xargs -0r rm -f
47
47
        find -name __pycache__ -print0 | xargs -0r rm -rf
48
48
        # Check the syntax of any shell scripts.
117
117
        dh_di_numbers
118
118
 
119
119
        # Bits of manual installation that can't be done by dh_install
120
 
        
 
120
 
121
121
        install bin/ubiquity-wrapper debian/ubiquity/usr/bin/ubiquity
122
122
        sed 's/@VERSION@/$(VERSION)/g' bin/ubiquity \
123
123
                > debian/ubiquity/usr/lib/ubiquity/bin/ubiquity