X-Git-Url: http://git.sven.stormbind.net/?p=sven%2Fjava-package.git;a=blobdiff_plain;f=debian%2Frules;h=58fc11cc794983e138d3177fb0a77b0fdfbef858;hp=9e6a0ad1a4b7831a32e762efa169debf4be763e0;hb=1ae43244c583de670c9f27d97ea6561823ef28d4;hpb=adec26aa8261b379a1db4ca72142b7ddc51f4e75 diff --git a/debian/rules b/debian/rules index 9e6a0ad..58fc11c 100755 --- a/debian/rules +++ b/debian/rules @@ -8,11 +8,12 @@ VERSION := $(shell head -n 1 $(CURDIR)/debian/changelog | sed 's/.*(//;s/).*//') B := $(CURDIR)/debian/java-package -build: build-stamp +build: build-arch build-indep +build-arch: build-stamp +build-indep: build-stamp build-stamp: dh_testdir - # Add here commands to compile the indep part of the package. sed s/@VERSION@/$(VERSION)/ make-jpkg > make-jpkg.out touch $@ @@ -25,9 +26,8 @@ clean: install: build dh_testdir dh_testroot - dh_clean -k + dh_prep dh_installdirs - install -m 755 make-jpkg.out $(B)/usr/bin/make-jpkg cp lib/*.sh $(B)/usr/share/java-package/ find $(B) -type d -name .svn | xargs -r rm -r