File: rules

package info (click to toggle)
amap-align 2.2%2Bgit20080214.600fc29%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,568 kB
  • sloc: cpp: 3,482; java: 549; xml: 151; makefile: 27; sh: 17
file content (30 lines) | stat: -rwxr-xr-x 804 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
25
26
27
28
29
30
#!/usr/bin/make -f
# -*- makefile -*-

include /usr/share/dpkg/default.mk

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

XP=xsltproc  \
      -''-nonet \
      -''-param man.charmap.use.subset "0" \
      -''-param make.year.ranges "1" \
      -''-param make.single.year.ranges "1" \
      -o debian/

SRCDIR=align

%:
	dh $@ --sourcedirectory=$(SRCDIR)

override_dh_auto_build:
	dh_auto_build
	#### This is how the *.jar can be recreated
	# cd display && mkdir -p lib && ant jar
	#### Unfortunately the command suggested in readme
	##      java -jar display/AmapDisplay.jar examples/BB12020.tfa.out
	#### segfaults.  So currently this display function is not supported

override_dh_installexamples:
	dh_installexamples
	chmod 644 debian/$(DEB_SOURCE)/usr/share/doc/$(DEB_SOURCE)/examples/BB12020.tfa