File: rules

package info (click to toggle)
libjogl2-java 2.0-rc5-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 23,308 kB
  • sloc: java: 113,441; ansic: 33,817; xml: 4,673; objc: 1,733; sh: 1,261; cpp: 139; awk: 46; makefile: 21
file content (29 lines) | stat: -rwxr-xr-x 890 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

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/ant.mk
include /usr/share/cdbs/1/rules/patchsys-quilt.mk

JAVA_HOME            := /usr/lib/jvm/default-java/
DEB_JARS             := ant-contrib ant-contrib-cpptasks ant-nodeps antlr ant-antlr swt
DEB_ANT_ARGS         := -Dsetup.noCDC=true 
DEB_ANT_CLEAN_TARGET := clean
DEB_ANT_BUILD_TARGET := all
DEB_ANT_BUILDFILE    := make/build.xml
ENABLE_BUILD_HELP_ARCHS := amd64 i386
DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)

build-indep:
# Disable the build of the help on slow archs. It takes forever (a few hours) 
ifneq (,$(findstring $(DEB_HOST_ARCH),$(ENABLE_BUILD_HELP_ARCHS)))
	$(DEB_ANT_INVOKE) javadoc.all
endif

common-install-prehook-indep::
	mv build/jar/jogl.all.jar build/jar/jogl2.jar

clean::
	$(RM) -r gluegen/build

get-orig-source::
	-uscan --upstream-version 0