File: rules.bootstrap

package info (click to toggle)
libxbean-java 4.5-4
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 4,472 kB
  • ctags: 6,554
  • sloc: java: 36,825; xml: 2,766; makefile: 43; sh: 11
file content (29 lines) | stat: -rw-r--r-- 1,057 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/usr/bin/make -f

include /usr/share/cdbs/1/class/ant.mk
include /usr/share/cdbs/1/rules/patchsys-quilt.mk

PACKAGE              := $(DEB_SOURCE_PACKAGE)
JAVA_HOME            := /usr/lib/jvm/default-java
DEB_JARS             := ant-nodeps commons-logging groovy log4j-1.2 asm asm-commons
DEB_ANT_BUILD_TARGET := package javadoc
DEB_ANT_BUILDFILE    := debian/bootstrap.xml
DEB_ANT_PROPERTYFILE := debian/bootstrap.properties
DEB_ANT_ARGS         := -Dbasedir=$(realpath .) -Dpackage=$(PACKAGE) -Dbin.package=$(PACKAGE) -Dversion=$(VERSION)
MODULES              := classpath naming reflect telnet

DEB_PATCHDIRS        := $(CURDIR)/debian/patches
QUILT_SERIES         := bootstrap.series
export QUILT_SERIES

binary-post-install/$(PACKAGE)::
	mh_installpoms -p$(PACKAGE)
	set -e; for MODULE in $(MODULES); do \
	  mh_installjar -p$(PACKAGE) -l xbean-$$MODULE/pom.xml xbean-$$MODULE/build/xbean-$$MODULE-$(VERSION).jar; \
	done

binary-post-install/$(PACKAGE)-doc::
	dh_install -p $(PACKAGE)-doc build/docs/api /usr/share/doc/$(PACKAGE)/

clean::
	mh_clean