File: rules

package info (click to toggle)
ganymed-ssh2 250-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 1,048 kB
  • ctags: 1,835
  • sloc: java: 12,959; makefile: 21; xml: 9
file content (29 lines) | stat: -rwxr-xr-x 541 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
26
27
28
29
#!/usr/bin/make -f

PKGNAME := ganymed-ssh2
LIBNAME := lib$(PKGNAME)-java

%:
	dh --with javahelper $@

override_dh_auto_build:
	jh_build $(PKGNAME).jar src

override_dh_auto_clean:
	jh_clean

override_dh_auto_install:
	dh_auto_install
	mh_installpom -p$(LIBNAME) $(CURDIR)/debian/pom.xml
	mh_installjar -p$(LIBNAME) -l $(CURDIR)/debian/pom.xml \
		$(CURDIR)/$(PKGNAME).jar

override_dh_installchangelogs:
	dh_installchangelogs HISTORY.txt

get-orig-source:
	uscan \
		--verbose \
		--no-symlink \
		--force-download \
		--destdir $(CURDIR)