File: rules

package info (click to toggle)
data-priority-map-clojure 1.1.0-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 192 kB
  • sloc: xml: 25; sh: 22; makefile: 16
file content (24 lines) | stat: -rwxr-xr-x 487 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

include /usr/share/javahelper/java-vars.mk

PRODUCED_JAR=data.priority-map.jar

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

override_jh_build:
	jar cf $(PRODUCED_JAR) -C src/main/clojure .
	jar uf $(PRODUCED_JAR) -C src/test/clojure .

override_jh_installlibs:
	jh_installlibs $(PRODUCED_JAR)

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	debian/run-build-tests
endif

override_jh_clean:
	jh_clean
	rm -f $(CURDIR)/$(PRODUCED_JAR)