~ubuntu-branches/ubuntu/utopic/python-chaco/utopic

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Package Import Robot
  • Author(s): Andrew Starr-Bochicchio
  • Date: 2014-06-01 17:04:08 UTC
  • mfrom: (7.2.5 sid)
  • Revision ID: package-import@ubuntu.com-20140601170408-m86xvdjd83a4qon0
Tags: 4.4.1-1ubuntu1
* Merge from Debian unstable. Remaining Ubuntu changes:
 - Let the binary-predeb target work on the usr/lib/python* directory
   as we don't have usr/share/pyshared anymore.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
include /usr/share/cdbs/1/rules/debhelper.mk
4
4
include /usr/share/cdbs/1/class/python-distutils.mk
5
5
 
6
 
DEB_INSTALL_CHANGELOGS_ALL       = docs/CHANGES.txt
7
6
DEB_COMPRESS_EXCLUDE            := .py .pdf
8
7
DEB_PYTHON_INSTALL_ARGS_ALL     += --single-version-externally-managed
9
8
DEB_DESTDIR                      = $(CURDIR)/debian/python-chaco
15
14
        dh_numpy
16
15
 
17
16
binary-predeb/python-chaco::
18
 
        $(RM) $(DEB_DESTDIR)/usr/share/doc/python-chaco/CHANGES.txt.gz
19
17
        find $(EXAMPLES) -type f -print0 | xargs -0 sed -i '/^#!/d'
20
18
        find $(PYSHARED) -type f -print0 | xargs -0 chmod 644
21
19
        find $(EXAMPLES) -type f -print0 | xargs -0 chmod 644