File: rules

package info (click to toggle)
yecht 1.1-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,092 kB
  • ctags: 1,219
  • sloc: java: 5,216; ruby: 3,595; yacc: 349; xml: 224; makefile: 10
file content (20 lines) | stat: -rwxr-xr-x 637 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

include /usr/share/dpkg/default.mk

%:
	dh $@ --buildsystem=maven

override_dh_auto_build:
	dh_auto_build
	# This is just a hack to get jruby building with yecht >= 1.1.
	# Since 1.1, yecht puts a YetchService class in the root package
	# and that doesn't work with maven-bundle-plugin 2.5.x and bnd 2.4.x.
	# This should be removed probably when we transition to jruby 9k and
	# bnd 3.x.
	zip -d ./target/yecht-$(DEB_VERSION_UPSTREAM).jar YechtService.class

override_dh_install:
	dh_install
	dh_install target/yecht-$(DEB_VERSION_UPSTREAM)-jruby.jar \
		usr/share/maven-repo/org/jruby/yecht/$(DEB_VERSION_UPSTREAM)