File: rules

package info (click to toggle)
libspring-ldap-java 1.3.0.RELEASE-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 2,228 kB
  • ctags: 2,136
  • sloc: java: 9,447; xml: 3,261; jsp: 36; makefile: 23; sh: 13
file content (27 lines) | stat: -rwxr-xr-x 708 bytes parent folder | download
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
#!/usr/bin/make -f
%:
	dh --with javahelper $@

override_dh_auto_clean:
	dh_auto_clean
	-ant -f debian/build.xml clean

override_dh_auto_build:
	dh_auto_build
	ant -f debian/build.xml
	export DOC_SRC=docs/docbkx DOC_GEN=docs/reference && \
		xmlto -o $${DOC_GEN}/html --skip-validation xhtml \
			$${DOC_SRC}/index.xml && \
		xmlto -o $${DOC_GEN}/pdf --with-fop --skip-validation pdf \
			$${DOC_SRC}/index.xml && \
		mv $${DOC_GEN}/pdf/index.pdf $${DOC_GEN}/pdf/spring-ldap-reference.pdf
	ant -f debian/build.xml reference

get-orig-source:
	cd $(dir $(firstword $(MAKEFILE_LIST)))../ && \
	uscan \
		--verbose \
		--no-symlink \
		--destdir $(CURDIR)      \
		--watchfile debian/watch \
		--force-download