~toolpart/+junk/pythoncard

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Ilya Barygin
  • Date: 2010-03-03 15:44:51 UTC
  • mfrom: (3.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20100303154451-l158j82sm9fboe61
Tags: 0.8.1-8.4ubuntu1
* Merge from Debian testing. Conflicts/replaces for 
  python2.4-pythoncard are no longer necessary.
* debian/pythoncard-doc.install, debian/python-pythoncard.install:
  use wildcards instead of site-packages to fix build with python 2.6.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
install_dir   = debian/tmp
5
5
pyvers       := $(shell pyversions -r)
6
6
 
 
7
-include /usr/share/python/python.mk
 
8
 
7
9
binary: binary-indep binary-arch
8
10
 
9
11
binary-arch: ;
30
32
        dh_testroot
31
33
        dh_installdirs
32
34
        for py in $(pyvers); do \
33
 
            $$py setup.py install --no-compile --root=debian/tmp; done
 
35
            $$py setup.py install --no-compile --root=debian/tmp ${py_setup_install_args}; done
34
36
        
35
 
        rm -f  $(install_dir)/usr/lib/python*/site-packages/PythonCard/install-pythoncard.py
36
 
        rm -f  $(install_dir)/usr/lib/python*/site-packages/PythonCard/PKG-INFO
37
 
        rm -f  $(install_dir)/usr/lib/python*/site-packages/PythonCard/README.txt
38
 
        rm -f  $(install_dir)/usr/lib/python*/site-packages/PythonCard/LICENSE.txt
39
 
        rm -f  $(install_dir)/usr/lib/python*/site-packages/PythonCard/setup.py
40
 
        rm -f  $(install_dir)/usr/lib/python*/site-packages/PythonCard/__version__.pyc
41
 
        rm -f  $(install_dir)/usr/lib/python*/site-packages/PythonCard/docs/changelog.txt
42
 
        rm -f  $(install_dir)/usr/lib/python*/site-packages/PythonCard/docs/readme.txt
43
 
        rm -rf $(install_dir)/usr/lib/python*/site-packages/PythonCard/tests
44
 
        rm -rf $(install_dir)/usr/lib/python*/site-packages/PythonCard/build
 
37
        rm -f  $(install_dir)/usr/lib/python*/*-packages/PythonCard/install-pythoncard.py
 
38
        rm -f  $(install_dir)/usr/lib/python*/*-packages/PythonCard/PKG-INFO
 
39
        rm -f  $(install_dir)/usr/lib/python*/*-packages/PythonCard/README.txt
 
40
        rm -f  $(install_dir)/usr/lib/python*/*-packages/PythonCard/LICENSE.txt
 
41
        rm -f  $(install_dir)/usr/lib/python*/*-packages/PythonCard/setup.py
 
42
        rm -f  $(install_dir)/usr/lib/python*/*-packages/PythonCard/__version__.pyc
 
43
        rm -f  $(install_dir)/usr/lib/python*/*-packages/PythonCard/docs/changelog.txt
 
44
        rm -f  $(install_dir)/usr/lib/python*/*-packages/PythonCard/docs/readme.txt
 
45
        rm -rf $(install_dir)/usr/lib/python*/*-packages/PythonCard/tests
 
46
        rm -rf $(install_dir)/usr/lib/python*/*-packages/PythonCard/build
 
47
 
45
48
 
46
49
build: build-stamp
47
50
build-stamp: