File: rules

package info (click to toggle)
sbt-template-resolver 0.1%2Brepack-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, sid
  • size: 96 kB
  • sloc: xml: 41; makefile: 9; java: 5
file content (14 lines) | stat: -rwxr-xr-x 454 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

include /usr/share/dpkg/pkg-info.mk

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

override_dh_auto_build:
	mkdir -p target/classes
	javac -d target/classes --release 8 $(shell find src/main/java -name *.java)
	jar cf target/sbt-template-resolver.jar -C target/classes .

get-orig-poms:
	wget https://repo1.maven.org/maven2/org/scala-sbt/template-resolver/$(DEB_VERSION_UPSTREAM)/template-resolver-$(DEB_VERSION_UPSTREAM).pom -O debian/pom.xml