File: rules

package info (click to toggle)
tidy 20080116cvs-2
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 7,296 kB
  • ctags: 3,259
  • sloc: ansic: 30,069; sh: 9,060; xml: 317; makefile: 41
file content (18 lines) | stat: -rwxr-xr-x 478 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#! /usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/simple-patchsys.mk


DOCDIR=htmldoc
HELPXML=$(DOCDIR)/tidy-help.xml

build/tidy::
	## Generate manpage from tidy output
	LD_LIBRARY_PATH=$(CURDUR)/src/.libs/ \
		$(CURDIR)/console/tidy -xml-help > $(HELPXML)
	/usr/bin/xsltproc -o debian/tidy.1 $(DOCDIR)/tidy1.xsl $(HELPXML)

clean::
	## Clean up generated manpage
	rm -f debian/tidy.1