File: rules

package info (click to toggle)
prottest 3.4.2%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,840 kB
  • ctags: 2,031
  • sloc: java: 15,026; xml: 64; sh: 40; makefile: 13
file content (23 lines) | stat: -rwxr-xr-x 668 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
#!/usr/bin/make -f

DEBPKGNAME     := $(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}')

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

JAVA_HOME=/usr/lib/jvm/default-java

%:
	LC_ALL=C.UTF-8 dh $@ --with javahelper

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

override_dh_installchangelogs:
	dh_installchangelogs src/main/resources/CHANGELOG

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