File: rules

package info (click to toggle)
axis 1.4-28
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 52,076 kB
  • sloc: java: 129,120; xml: 10,602; jsp: 983; sh: 84; cs: 36; makefile: 18
file content (23 lines) | stat: -rwxr-xr-x 843 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
#!/usr/bin/make -f

export CLASSPATH=/usr/share/java/commons-logging.jar    \
                :/usr/share/java/commons-discovery.jar  \
                :/usr/share/java/commons-httpclient.jar \
                :/usr/share/java/javax.mail.jar         \
                :/usr/share/java/servlet-api-3.1.jar    \
                :/usr/share/java/wsdl4j.jar             \
                :/usr/share/java/xmlParserAPIs.jar      \
                :/usr/share/java/xercesImpl.jar

%:
	dh $@ --with maven-repo-helper

override_dh_auto_build:
	dh_auto_build -- -Dcompile.debug=true compile javadocs -debug
	mv build/javadocs build/api

	mkdir -p build/bnd/
	for BNDFILE in debian/bnd/*.bnd; do \
		JARPATH=build/lib/`basename $$BNDFILE .bnd`.jar; \
		bnd wrap --properties $$BNDFILE --output build/bnd/`basename $$BNDFILE .bnd`.jar $$JARPATH; \
	done