File: rules

package info (click to toggle)
libjackson-json-java 1.9.13-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 9,412 kB
  • sloc: java: 88,999; xml: 1,382; sh: 37; makefile: 26
file content (32 lines) | stat: -rwxr-xr-x 1,008 bytes parent folder | download | duplicates (2)
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
30
31
32
#!/usr/bin/make -f

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

override_dh_auto_build: mklibdirs
	ln -s /usr/share/java/joda-time.jar lib/ext/joda-time.jar || true
	ln -s /usr/share/java/jaxrs-api.jar lib/jaxrs/jsr311-api.jar || true
	ln -s /usr/share/java/asm.jar lib/ext/asm/asm-3.3.jar || true
	ln -s /usr/share/java/jarjar.jar lib/ext/jarjar/jarjar-1.0.jar || true
	ln -s /usr/share/java/jaxb-impl.jar lib/jaxb/jaxb-impl.jar || true
	ln -s /usr/share/java/javax.activation.jar lib/javax/javax.activation.jar || true
	CLASSPATH="/usr/share/java/net.luminis.build.plugin.jar:/usr/share/java/bnd.jar" \
		ant -buildfile debian/build.xml repackage-asm compile.main jars javadoc \
			generate-poms

override_dh_auto_clean:
	rm -rf lib build test dist

override_jh_manifest:

mklibdirs:
	mkdir -p lib/ant
	mkdir -p lib/cobertura
	mkdir -p lib/ext/asm
	mkdir -p lib/ext/jarjar
	mkdir -p lib/jaxb
	mkdir -p lib/jaxrs
	mkdir -p lib/repackaged
	mkdir -p lib/junit
	mkdir -p lib/jaxb
	mkdir -p lib/javax