File: rules

package info (click to toggle)
tuxguitar 1.2-25
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 10,560 kB
  • sloc: java: 75,206; xml: 2,213; ansic: 1,186; makefile: 932; cpp: 424; sh: 124
file content (21 lines) | stat: -rwxr-xr-x 585 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
#! /usr/bin/make -f

export JAVA_HOME=/usr/lib/jvm/default-java
export JAVA?=${JAVA_HOME}/bin/java

# build flags for hardening
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow

%:
	dh $@ --no-parallel

override_dh_auto_build:
	dh_auto_build -- build
	docbook-to-man misc/tuxguitar.sgml > debian/tuxguitar.1

override_dh_auto_install:
	${MAKE} install       DESTDIR=${CURDIR}/debian/tuxguitar
	${MAKE} install-linux DESTDIR=${CURDIR}/debian/tmp/tuxguitar
	$(RM) -rv ${CURDIR}/debian/tuxguitar/usr/share/tuxguitar/doc