File: rules

package info (click to toggle)
sitemesh 2.4.1%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 1,792 kB
  • sloc: java: 6,689; xml: 514; jsp: 393; perl: 64; makefile: 17; sh: 9
file content (24 lines) | stat: -rwxr-xr-x 509 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

DEB_UPSTREAM_VERSION := \
	$(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)+dfsg-.*/\1/p')

%:
	dh --with javahelper $@

override_dh_auto_build:
	# this file was dropped by accident from the orig source tarball
	cp debian/api.css docs/api.css
	ant dist

override_dh_auto_clean:
	ant clean
	rm -f docs/api.css

get-orig-source:
	uscan \
		--verbose \
		--no-symlink \
		--upstream-version $(DEB_UPSTREAM_VERSION) \
		--download-version $(DEB_UPSTREAM_VERSION) \
		--force-download