File: rules

package info (click to toggle)
pomegranate-clojure 1.2.24-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 636 kB
  • sloc: xml: 135; sh: 37; makefile: 17
file content (25 lines) | stat: -rwxr-xr-x 517 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
25
#!/usr/bin/make -f

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

%:
	dh $@ --with javahelper --with maven_repo_helper

# Don't let build/ interfere with dh's pattern rules.
.PHONY: build
build:
	dh $@

override_dh_auto_build:
	debian/prep
	cp -a target/pomegranate-$(DEB_VERSION_UPSTREAM).jar pomegranate.jar
	cp target/classes/META-INF/maven/clj-commons/pomegranate/pom.xml pom.xml
	dh_auto_build

override_dh_auto_test:
	debian/run-build-tests

override_dh_clean:
	rm -f pomegranate.jar
	rm -rf debian/local-repo
	dh_clean