diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2005-03-02 10:21:47 +0000 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2005-03-02 10:21:47 +0000 |
| commit | c0b6c9e6812970ac952593abf3d6b4d810b06c9d (patch) | |
| tree | 3b5c1ba69dd5b714e29d8eb4fd59fda033758b39 /debian/rules | |
| parent | 5a4c9edb5772d54a68ca043f4b4ebd85a871bd5d (diff) | |
| download | python-apt-c0b6c9e6812970ac952593abf3d6b4d810b06c9d.tar.gz | |
* merged with matts tree, resolved lots of conflicts
Patches applied:
* apt@packages.debian.org/python-apt--main--0--base-0
tag of apt@arch.ubuntu.com/python-apt--MAIN--0--patch-44
* apt@packages.debian.org/python-apt--main--0--patch-1
Merge michael.vogt@ubuntu.com--2005/python-apt--pkgDepCache--0
* apt@packages.debian.org/python-apt--main--0--patch-2
0.5.33
* apt@packages.debian.org/python-apt--main--0--patch-3
Add arch-build target to rules
* apt@packages.debian.org/python-apt--main--0--patch-4
Fix typo (fund->find)
* apt@packages.debian.org/python-apt--main--0--patch-5
Restore Ubuntu changes
* apt@packages.debian.org/python-apt--main--0--patch-6
0.5.35 -> hoary
* apt@packages.debian.org/python-apt--main--0--patch-7
Fix build-depends, somehow lost in merge
* michael.vogt@ubuntu.com--2005/python-apt--pkgDepCache--0--base-0
tag of apt@arch.ubuntu.com/python-apt--MAIN--0--patch-44
* michael.vogt@ubuntu.com--2005/python-apt--pkgDepCache--0--patch-1
* merged from my mvo tree, removed all non-pkgDepCache releated stuff and cleaned up the code
* michael.vogt@ubuntu.com--2005/python-apt--pkgDepCache--0--patch-2
* beefed up the example code, added DepCache.Upgrade()
* michael.vogt@ubuntu.com--2005/python-apt--pkgDepCache--0--patch-3
* implemented the marking interface
* michael.vogt@ubuntu.com--2005/python-apt--pkgDepCache--0--patch-4
* state information and marking interface
* michael.vogt@ubuntu.com--2005/python-apt--pkgDepCache--0--patch-5
* fixed wrong types for "UsrSize" and "DebSize"
* michael.vogt@ubuntu.com--2005/python-apt--pkgDepCache--0--patch-6
* added DepCache.FixBroken()
* michael.vogt@ubuntu.com--2005/python-apt--pkgDepCache--0--patch-7
* example code how a overview about the changes can be computed
Diffstat (limited to 'debian/rules')
| -rwxr-xr-x | debian/rules | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/debian/rules b/debian/rules index 2716f760..8180834a 100755 --- a/debian/rules +++ b/debian/rules @@ -8,6 +8,9 @@ PYTHON=/usr/bin/python2.4 +DEBVER=$(shell dpkg-parsechangelog |sed -n -e '/^Version:/s/^Version: //p') +DEB_BUILD_PROG:=debuild --preserve-envvar PATH --preserve-envvar CCACHE_DIR -us -uc $(DEB_BUILD_PROG_OPTS) + build: build-stamp build-stamp: dh_testdir @@ -19,9 +22,10 @@ build-stamp: clean: dh_testdir dh_testroot - rm -f build-stamp + rm -rf build-stamp debian/arch-build $(PYTHON) setup.py clean --all + /usr/bin/python2.3 setup.py clean --all dh_clean @@ -37,6 +41,7 @@ binary-arch: build dh_clean -k $(PYTHON) setup.py install --prefix=`pwd`/debian/tmp/usr + /usr/bin/python2.3 setup.py install --prefix=`pwd`/debian/python2.3-apt/usr dh_installdocs # Hooks for doc-base. doc-base doesn't support `pdf' yet, @@ -55,7 +60,7 @@ binary-arch: build dh_fixperms dh_installdeb dh_shlibdeps - $(PYTHON) debian/python-dep >> debian/substvars + dh_python dh_gencontrol # dh_makeshlibs dh_md5sums @@ -64,5 +69,12 @@ binary-arch: build source diff: @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false +arch-build: + rm -rf debian/arch-build + mkdir -p debian/arch-build/python-apt-$(DEBVER) + baz inventory -s | xargs cp -a --parents --target=debian/arch-build/python-apt-$(DEBVER) + (cd debian/arch-build/python-apt-$(DEBVER); $(DEB_BUILD_PROG)) + + binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary |
