~ubuntu-branches/ubuntu/oneiric/protobuf/oneiric

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Michael Vogt
  • Date: 2010-10-15 10:02:24 UTC
  • mfrom: (2.2.7 sid)
  • Revision ID: james.westby@ubuntu.com-20101015100224-zlzjpd5k44jzt2pl
Tags: 2.3.0-4ubuntu1
* Merge from debian unstable.  Remaining changes:
  - Don't use python2.4 use python instead (submited to Debian
    as Bug#600261)

Show diffs side-by-side

added added

removed removed

Lines of Context:
90
90
        dh_testroot
91
91
        rm -f build-arch-stamp build-indep-stamp configure-stamp
92
92
 
93
 
        # Add here commands to clean up after the build process.
 
93
        # C++ bindings cleanups
94
94
        [ ! -f Makefile ] || $(MAKE) distclean
95
95
 
96
96
        # remove the built manpage
97
97
        rm -f protoc.1
98
98
 
99
 
        if [ -f python/protobuf.egg-info ]; then \
100
 
                ( cd python && \
101
 
                  python setup.py clean --all && \
102
 
                  rm -rf protobuf.egg-info ) \
103
 
        fi
 
99
        # Python bindings cleanups
 
100
        cd python && python setup.py clean --all
 
101
        rm -rf python/protobuf.egg-info
104
102
 
105
 
        # remove java builds
 
103
        # Java bindings cleanups
106
104
        $(SHELL) ./debian/ant-wrapper -f debian/java-build.xml clean || true
107
105
 
108
106
        dh_clean