File: rules

package info (click to toggle)
prottest 3.4.2%2Bdfsg-8
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 1,896 kB
  • sloc: java: 15,026; xml: 64; sh: 54; makefile: 14
file content (24 lines) | stat: -rwxr-xr-x 632 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
21
22
23
24
#!/usr/bin/make -f

include /usr/share/dpkg/default.mk

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

export LC_ALL=C.UTF-8
JAVA_HOME=/usr/lib/jvm/default-java

%:
	dh $@ --with javahelper

override_dh_fixperms:
	dh_fixperms
	chmod -x debian/$(DEB_SOURCE)/etc/$(DEB_SOURCE)/*
	find debian/$(DEB_SOURCE)/usr/share/doc/$(DEB_SOURCE)/examples -type f -exec chmod -x \{\} \;
	find debian/$(DEB_SOURCE)/usr/share/$(DEB_SOURCE)/models -type f -exec chmod -x \{\} \;

override_dh_installchangelogs:
	dh_installchangelogs src/main/resources/CHANGELOG

override_dh_compress:
	dh_compress --exclude=.nex --exclude=alignment