File: rules

package info (click to toggle)
otrs2-doc 20140509-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 38,292 kB
  • sloc: xml: 57,707; makefile: 13
file content (21 lines) | stat: -rwxr-xr-x 572 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
#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

%:
	dh $@

override_dh_auto_build:
	cd de; xsltproc --nonet --novalid --xinclude otrs-html.xsl book.xml
	cd en; xsltproc --nonet --novalid --xinclude otrs-html.xsl book.xml
	cd ru; xsltproc --nonet --novalid --xinclude otrs-html.xsl book.xml

override_dh_auto_clean:
	$(RM) de/*.html en/*.html ru/*.html

get-orig-source:
	git clone https://github.com/OTRS/doc-admin.git otrs2-doc
	$(RM) -rf otrs2-doc/.git*
	tar cfJ ../otrs2-doc_`date +%Y%m%d`.orig.tar.xz otrs2-doc
	$(RM) -rf otrs2-doc