~ubuntu-branches/ubuntu/lucid/python-cjson/lucid-updates

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Bernd Zeimetz, Bernd Zeimetz, Sandro Tosi
  • Date: 2009-07-27 22:55:53 UTC
  • mfrom: (2.1.1 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090727225553-mmwv72szkns2wn76
Tags: 1.0.5-2
[ Bernd Zeimetz ]
* debian/control:
  - Changing the priority of the -dbg package to extra
  - Adding Homepage field, removing pseudo-field from description
  - Adding Vcs-Svn and Vcs-Browser fields
  - Updating my email address
  - Bumping Standards-Version to 3.8.2, no changes needed.
  - Remove cdbs Build-dep, bump required debhelper version.
  - Fix several spelling errors in the descriptions
  - Move the -dbg package into section debug.
  - Add an extra ~ to the python-all-dev build-dep to make lintian
    happy.
  - Enhance the long description of the -dbg package.
* debian/rules:
  - Replace cdbs weirdness by dh.
* debian/pycompat:
  - Drop file, not needed.
* debian/python-cjson.install:
  - Change to install non -dbg files only.
* debian/python-cjson-dbg.install:
  - Install dbg extensions.  
* debian/copyright:
  - Update the licensing of the debian packaging to 2009. 

[ Sandro Tosi ]
* debian/control
  - uniforming Vcs-Browser field
* debian/control
  - switch Vcs-Browser field to viewsvn

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/make -f
2
2
 
3
 
DEB_PYTHON_SYSTEM=pysupport
4
 
DEB_COMPRESS_EXCLUDE := .py
5
 
 
6
 
include /usr/share/cdbs/1/rules/debhelper.mk
7
 
include /usr/share/cdbs/1/class/python-distutils.mk
8
 
 
9
 
 
10
 
build/python-cjson-dbg::
11
 
        set -e; \
12
 
        for i in $(cdbs_python_build_versions); do \
13
 
          python$$i-dbg ./setup.py build; \
14
 
        done
15
 
 
16
 
install/python-cjson-dbg::
17
 
        for i in $(cdbs_python_build_versions); do \
18
 
          python$$i-dbg ./setup.py install --root $(CURDIR)/debian/python-cjson-dbg; \
19
 
        done
20
 
        find debian/python-cjson-dbg \
21
 
                ! -type d ! -name '*_d.so' | xargs rm -f
22
 
        find debian/python-cjson-dbg -depth -empty -exec rmdir {} \;
23
 
 
24
 
binary-predeb/python-cjson-dbg::
25
 
        rm -rf debian/python-cjson-dbg/usr/share/doc/python-cjson-dbg
26
 
        ln -s python-cjson debian/python-cjson-dbg/usr/share/doc/python-cjson-dbg
27
 
 
28
 
clean::
29
 
        rm -rf build
 
3
PACKAGE=python-cjson
 
4
 
 
5
%:
 
6
        dh $@
 
7
 
 
8
override_dh_installdocs:
 
9
        dh_installdocs
 
10
        rm -rf debian/$(PACKAGE)-dbg/usr/share/doc/$(PACKAGE)-dbg
 
11
        ln -s $(PACKAGE) debian/$(PACKAGE)-dbg/usr/share/doc/$(PACKAGE)-dbg
 
12
 
 
13
override_dh_strip:
 
14
        dh_strip --dbg-package=$(PACKAGE)-dbg
 
15
 
 
16