File: rules

package info (click to toggle)
clj-http-clojure 2.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 408 kB
  • ctags: 2
  • sloc: xml: 263; makefile: 14
file content (22 lines) | stat: -rwxr-xr-x 634 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
#!/usr/bin/make -f

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

PRODUCED_JAR=clj-http.jar
export CLASSPATH=/usr/share/java/clojure.jar:/usr/share/java/httpcore.jar:/usr/share/java/httpclient.jar:/usr/share/java/httpmime.jar:/usr/share/java/commons-codec.jar:/usr/share/java/commons-io.jar:/usr/share/java/slingshot.jar:/usr/share/java/potemkin.jar

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

override_jh_build: 
	jar cf $(PRODUCED_JAR) -C src .

override_jh_classpath:
	jh_classpath $(PRODUCED_JAR)

override_dh_installdocs:
	dh_installdocs -Xchangelog.org

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