File: rules

package info (click to toggle)
lombok-ast 0.2%2Bds-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 8,728 kB
  • sloc: java: 102,919; javascript: 4,390; xml: 541; makefile: 30
file content (37 lines) | stat: -rwxr-xr-x 751 bytes parent folder | download | duplicates (3)
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
33
34
35
36
37
#!/usr/bin/make -f

export JAVA_HOME=/usr/lib/jvm/default-java

%:
	dh $@ --with javahelper,maven_repo_helper

override_dh_clean:
	dh_clean
	$(RM) -r dist

override_dh_auto_build:
	mkdir -p build
	cp -r src/main main_backup
	cp -r lombok.ast_generatedSource/* src/main/
	cp -r lombok.ast_generatedSource build
	ant dist
	$(RM) -r src/main
	mv main_backup src/main

override_jh_linkjars:
	jh_linkjars
	$(RM) \
			lib/runtime/ant* \
			lib/runtime/jsch* \
			lib/runtime/ecj* \
			lib/runtime/eclipse* \
			lib/runtime/asm* \
			lib/runtime/lombok-1* \
			lib/runtime/lombok.jar \
			lib/runtime/com.zwitserloot* \
			lib/runtime/ivy* \
			lib/runtime/parboiled* \
			lib/runtime/jsr* \
			lib/runtime/maven-repo-helper* \
			lib/runtime/com.intellij*