File: rules

package info (click to toggle)
mac-widgets 0.10.0%2Bsvn416-dfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,968 kB
  • ctags: 2,003
  • sloc: java: 9,909; makefile: 13; sh: 12
file content (24 lines) | stat: -rwxr-xr-x 697 bytes parent folder | download | duplicates (5)
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
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

# This has to be exported to make some magic below work.
export DH_OPTIONS


%:
	dh $@ --with javahelper

override_jh_build:
	ln -s source/com com
	ln -s $(CURDIR)/demo/com/explodingpixels/macwidgets/icons com/explodingpixels/macwidgets/icons
	JAVA_HOME=/usr/lib/jvm/default-java \
		CLASSPATH=/usr/share/java/forms.jar \
		JH_JAR_EXTRA="com/explodingpixels/macwidgets/images com/explodingpixels/widgets/images com/explodingpixels/macwidgets/icons" \
		jh_build mac_widgets.jar source demo

override_dh_auto_clean:
	dh_auto_clean
	rm -f mac_widgets.jar com/explodingpixels/macwidgets/icons com