diff options
author | dancer <dancer> | 2002-10-24 10:55:44 +0000 |
---|---|---|
committer | dancer <dancer> | 2002-10-24 10:55:44 +0000 |
commit | a8d651b4d1e763debbf6d53b8cf332d776397e5e (patch) | |
tree | 195f292c198636d038ee4b0c760835c68ccb364d /debian/rules | |
parent | f409567df2b8445ec6fbae637353ca1e75fff331 (diff) | |
download | pbuilder-a8d651b4d1e763debbf6d53b8cf332d776397e5e.tar pbuilder-a8d651b4d1e763debbf6d53b8cf332d776397e5e.tar.gz |
fix build rule to build uml for i386 only.
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 40 |
1 files changed, 27 insertions, 13 deletions
diff --git a/debian/rules b/debian/rules index 73ea991..f7ddef9 100755 --- a/debian/rules +++ b/debian/rules @@ -7,6 +7,7 @@ # This is the debhelper compatability version to use. export DH_COMPAT=3 +ARCH=$(shell dpkg-architecture -qDEB_HOST_ARCH) configure: configure-stamp configure-stamp: @@ -39,26 +40,39 @@ install: build # Add here commands to install the package into debian/build-package. $(MAKE) install DESTDIR=$(CURDIR)/debian/pbuilder + dh_movefiles -ppbuilder-uml --sourcedir=debian/pbuilder # Build architecture-independent files here. binary-indep: build install - dh_testdir - dh_testroot - dh_installdocs + dh_testdir -i + dh_testroot -i + dh_installdocs -i dh_installman pbuilder.8 pbuilderrc.5 pdebuild.1 debuild-pbuilder.1 - dh_installman -ppbuilder-uml pbuilder-user-mode-linux.1 - dh_movefiles --sourcedir=debian/pbuilder - dh_installchangelogs - dh_link - dh_compress - dh_fixperms - dh_installdeb - dh_gencontrol - dh_md5sums - dh_builddeb + dh_installchangelogs -i + dh_link -i + dh_compress -i + dh_fixperms -i + dh_installdeb -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i # Build architecture-dependent files here. binary-arch: build install +ifeq (${ARCH},i386) + dh_testdir -a + dh_testroot -a + dh_installdocs -a + dh_installman -ppbuilder-uml pbuilder-user-mode-linux.1 + dh_installchangelogs -a + dh_link -a + dh_compress -a + dh_fixperms -a + dh_installdeb -a + dh_gencontrol -a + dh_md5sums -a + dh_builddeb -a +endif binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install configure |