File: rules

package info (click to toggle)
netty 1%3A4.1.7-2%2Bdeb9u1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 19,816 kB
  • sloc: java: 222,562; xml: 4,359; ansic: 1,977; sh: 105; makefile: 16
file content (24 lines) | stat: -rwxr-xr-x 776 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
#!/usr/bin/make -f

export BUILD_DATE=$(shell date --date='@${SOURCE_DATE_EPOCH}' --utc +'%Y-%m-%d %H:%M:%S')

%:
	dh $@

override_dh_auto_build:
	# Replace the missing groovy-maven-plugin
	mkdir -p common/target
	groovy -Dcollection.template.dir=common/src/main/templates \
	       -Dcollection.template.test.dir=common/src/test/templates \
	       -Dcollection.src.dir=common/target/generated-sources/collections/java \
	       -Dcollection.testsrc.dir=common/target/generated-test-sources/collections/java \
	       common/src/main/script/codegen.groovy

	dh_auto_build -- package -Dbuild.date='${BUILD_DATE}'

override_dh_auto_clean:
	dh_auto_clean
	rm -f common/dependency-reduced-pom.xml

get-orig-source:
	uscan --download-current-version --force-download --no-symlink