File: rules

package info (click to toggle)
javacc 5.0-8.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 3,544 kB
  • sloc: java: 21,302; xml: 2,025; sh: 100; makefile: 12
file content (18 lines) | stat: -rwxr-xr-x 469 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

VERSION=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-]+).*,\1,p')

%:
	dh $@ --with maven-repo-helper

override_dh_auto_build:
	dh_auto_build -- jar update-bootstrap -Dversion=$(VERSION)
	dh_auto_build -- clean
	dh_auto_build -- jar
	docbook-to-man debian/manpage.sgml >bin/javacc.1

override_dh_auto_test:
	dh_auto_build -- unittest

get-orig-source:
	uscan --download-current-version --force-download --rename --repack --compression xz