File: rules

package info (click to toggle)
pegdown 1.6.0-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 2,684 kB
  • ctags: 761
  • sloc: java: 3,141; xml: 51; makefile: 13
file content (20 lines) | stat: -rwxr-xr-x 465 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
#!/usr/bin/make -f

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

%:
	dh $@ --buildsystem=maven

override_dh_auto_configure:
	cp debian/pom.xml .
	dh_auto_configure

override_dh_auto_clean:
	dh_auto_clean
	rm -f pom.xml

get-orig-source:
	uscan --download-current-version --force-download --rename

get-orig-pom:
	wget http://central.maven.org/maven2/org/pegdown/pegdown/$(VERSION)/pegdown-$(VERSION).pom -O debian/pom.xml