~ubuntu-branches/ubuntu/utopic/python-traitsui/utopic

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Package Import Robot
  • Author(s): Michael Bienia
  • Date: 2012-10-01 18:17:21 UTC
  • Revision ID: package-import@ubuntu.com-20121001181721-n6gf5qmj7hvsjnmt
Tags: 4.1.0-1ubuntu2
Undo changes from -1ubuntu1 as the reason for them got reverted.
The package can be synced on next occasion.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
DEB_COMPRESS_EXCLUDE            := .py
7
7
DEB_PYTHON_INSTALL_ARGS_ALL     += --single-version-externally-managed
8
8
DEB_DESTDIR                      =$(CURDIR)/debian/python-traitsui
 
9
PYSHARED                         =$(DEB_DESTDIR)/usr/share/pyshared
9
10
EXAMPLES                         =$(DEB_DESTDIR)/usr/share/doc/python-traitsui
10
11
 
11
12
install/python-traitsui::
12
13
        find $(DEB_DESTDIR) -name 'image_LICENSE.txt' -delete
13
14
 
14
15
binary-predeb/python-traitsui::
15
 
        find $(DEB_DESTDIR)/usr/lib/python* -type f | xargs chmod 644
 
16
        find $(PYSHARED) -type f | xargs chmod 644
16
17
        find $(EXAMPLES) -type f | xargs sed -i '/^#!/d'
17
18
        find $(EXAMPLES) -type f | xargs chmod 644
18
19