summaryrefslogtreecommitdiffstats
path: root/debian/rules
diff options
context:
space:
mode:
authornima <nima@abc39116-655e-4be6-ad55-d661dc543056>2009-03-31 11:37:58 +0000
committernima <nima@abc39116-655e-4be6-ad55-d661dc543056>2009-03-31 11:37:58 +0000
commit37d1a8117cd212ee9e47bbd4225ba76dece7dad7 (patch)
treef5817d1780670702c0f92c32bd62de53d68b3d36 /debian/rules
parent17cfe3a41998c075991a54a6deace28ba7744ed6 (diff)
downloadpython-dmidecode-37d1a8117cd212ee9e47bbd4225ba76dece7dad7.tar.gz
python-dmidecode-37d1a8117cd212ee9e47bbd4225ba76dece7dad7.tar.xz
python-dmidecode-37d1a8117cd212ee9e47bbd4225ba76dece7dad7.zip
Preparing to migrate to GIT.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@179 abc39116-655e-4be6-ad55-d661dc543056
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules70
1 files changed, 0 insertions, 70 deletions
diff --git a/debian/rules b/debian/rules
deleted file mode 100755
index 5e4d832..0000000
--- a/debian/rules
+++ /dev/null
@@ -1,70 +0,0 @@
-#!/usr/bin/make -f
-
-export DH_VERBOSE=0
-PACKAGE = $(shell dh_listpackages)
-PYVERS = $(shell pyversions -vr)
-
-################################################################################
-#. Build
-build: build-stamp
-build-stamp: $(PYVERS:%=build-ext-%) $(PYVERS:%=build-dbg-ext-%)
- dh_testdir
- touch $@
-build-ext-%:
- python$* src/setup.py build
- touch $@
-build-dbg-ext-%:
- python$*-dbg src/setup-dbg.py build
- touch $@
-
-################################################################################
-#. Install
-install: install-stamp
- dh_testdir
- dh_testroot
- dh_installdirs
- dh_installchangelogs
- dh_installdocs
- dh_installexamples
- dh_install
- dh_pycentral
- dh_installman
-install-stamp: build-stamp $(PYVERS:%=install-ext-%) $(PYVERS:%=install-dbg-ext-%)
-install-ext-%:
- python$* src/setup.py install --root $(CURDIR)/debian/python-dmidecode
- touch $@
-install-dbg-ext-%:
- python$*-dbg src/setup-dbg.py install --root $(CURDIR)/debian/python-dmidecode-dbg
- #find $(CURDIR)/debian/python-dmidecode-dbg/usr/lib/python$*/ ! -type d ! -name '*_d\.so' -delete
- #find $(CURDIR)/debian/python-dmidecode-dbg/usr/lib/python$*/ -depth -empty -delete
- touch $@
-
-################################################################################
-#. Binary
-binary: binary-indep binary-arch
-binary-indep:
-binary-arch: build install
- dh_testdir
- dh_testroot
- dh_strip
- dh_compress
- dh_fixperms
- dh_installdeb
- dh_shlibdeps
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-
-
-################################################################################
-#. Clean
-clean:
- dh_testdir
- dh_testroot
- $(MAKE) -f Makefile clean
- test $(CL_AGE) -le $(CACHE_AGE) || dh_clean
- dh_clean build-stamp install-stamp \
- $(PYVERS:%=install-ext-%) $(PYVERS:%=build-ext-%) \
- $(PYVERS:%=install-dbg-ext-%) $(PYVERS:%=build-dbg-ext-%)
-
-.PHONY: build clean binary-indep binary-arch binary install