diff options
author | Tatsuya Kinoshita <tats@vega.ocn.ne.jp> | 2011-07-18 08:18:22 +0000 |
---|---|---|
committer | Tatsuya Kinoshita <tats@vega.ocn.ne.jp> | 2011-07-18 08:18:22 +0000 |
commit | 64dcde6669d7ea2d0b064c0b363889f8d0095dc3 (patch) | |
tree | dddb5fb3d06be0052f14c810e0e2e97e640cd003 /debian | |
parent | debian/copyright: Use the w3m short name. (diff) | |
download | w3m-64dcde6669d7ea2d0b064c0b363889f8d0095dc3.tar.gz w3m-64dcde6669d7ea2d0b064c0b363889f8d0095dc3.zip |
debian/rules: Add the targets build-arch and build-indep.
Diffstat (limited to 'debian')
-rwxr-xr-x | debian/rules | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/debian/rules b/debian/rules index 0a7d9b7..fde7f32 100755 --- a/debian/rules +++ b/debian/rules @@ -19,7 +19,9 @@ confargs := --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib \ builddir := . -build: build-stamp +build-indep: + +build-arch: build-stamp build-stamp: dh_testdir cd $(builddir) && dh_autotools-dev_updateconfig @@ -51,10 +53,9 @@ install-stamp: build-stamp mv -f debian/w3m/usr/lib/w3m/w3mimgdisplay debian/w3m-img/usr/lib/w3m/w3mimgdisplay touch install-stamp -binary-indep: build-stamp install-stamp -# We have nothing to do by default. +binary-indep: -binary-arch: build-stamp install-stamp +binary-arch: install dh_testdir -a dh_testroot -a dh_installdocs -a @@ -96,5 +97,6 @@ binary-arch: build-stamp install-stamp source diff: @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false +build: build-indep build-arch binary: binary-indep binary-arch -.PHONY: build clean binary-indep binary-arch binary +.PHONY: build-indep build-arch build install clean binary-indep binary-arch binary |