diff options
author | Matthias Klose <doko@debian.org> | 2008-03-05 20:17:59 +0000 |
---|---|---|
committer | Matthias Klose <doko@debian.org> | 2008-03-05 20:17:59 +0000 |
commit | 88d62148c6bc5c11857eff6c40f752077c055df7 (patch) | |
tree | f18f464eab1e9e740ca6526b30a3c426f9617204 /debian/rules | |
parent | 6357d2e8e6fcf8136740792e762a85c2f2c346d0 (diff) | |
download | java-common-88d62148c6bc5c11857eff6c40f752077c055df7.tar.gz |
- don't build java-common for binary-arch only builds
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/debian/rules b/debian/rules index 0989214..44e2375 100755 --- a/debian/rules +++ b/debian/rules @@ -35,7 +35,7 @@ jre_provides = $(call mk_cslist,$(provides),runtime) jhl_provides = $(call mk_cslist,$(provides),runtime-headless) jdk_provides = $(call mk_cslist,$(provides),sdk) -build: build-stamp +build-indep: build-stamp build-stamp: dh_testdir @@ -50,12 +50,12 @@ clean: dh_clean -install: install-stamp +install-indep: install-stamp install-stamp: build-stamp dh_testdir dh_testroot - dh_clean -k - dh_installdirs + dh_clean -k -i + dh_installdirs -i dh_installdocs -i $(MAKE) install DESTDIR=$(CURDIR)/debian/java-common @@ -64,7 +64,13 @@ install-stamp: build-stamp touch install-stamp -binary-arch: +install-arch: + dh_testdir + dh_testroot + dh_clean -k -s + + +binary-arch: install-arch ifneq (,$(p_jre)) dh_testdir -s dh_testroot -s @@ -99,7 +105,7 @@ ifneq (,$(p_jre)) endif # Build architecture-independent files here. -binary-indep: build install +binary-indep: build-indep install-indep dh_testdir -i dh_testroot -i # dh_installdebconf -i |