File: rules

package info (click to toggle)
java-gnome 4.1.3-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 9,468 kB
  • ctags: 7,285
  • sloc: java: 27,001; ansic: 4,518; perl: 1,650; python: 1,187; makefile: 135
file content (24 lines) | stat: -rwxr-xr-x 673 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
#!/usr/bin/make -f

# We ran the build in verbose mode so buildd log scanner can analyze the output
# of the build.
V=1

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk

DEB_CONFIGURE_EXTRA_FLAGS += --libdir=/usr/lib/jni jdk=/usr/lib/jvm/default-java
DEB_ARCH_PACKAGES = libjava-gnome-jni
DEB_INDEP_PACKAGES = libjava-gnome-java-doc libjava-gnome-java

ifneq (,$(filter $(DEB_HOST_ARCH), i386 amd64 powerpc))
DEB_MAKE_ENVVARS += DISPLAY=":99"
DEB_MAKE_BUILD_TARGET += doc
endif
ifneq (,$(filter $(DEB_HOST_ARCH), hppa))
DEB_MAKE_ENVVARS += V=1
CFLAGS += -ffunction-sections
endif

get-orig-source:
	uscan --force-download --rename