debian swirl logo

Back to the packages list tidy

#! /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
CONFIGXML= $(DOCDIR)/tidy-config.xml
MANXSL= $(DOCDIR)/tidy1.xsl
MANPAGE= debian/tidy.1

build/tidy::
	## Generate manpage from tidy output
	LD_LIBRARY_PATH= $${LD_LIBRARY_PATH:+$$LD_LIBRARY_PATH:}$(CURDIR)/src/.libs/ \
			$(CURDIR)/console/tidy -xml-help > $(HELPXML)
	LD_LIBRARY_PATH= $${LD_LIBRARY_PATH:+$$LD_LIBRARY_PATH:}$(CURDIR)/src/.libs/ \
			$(CURDIR)/console/tidy -xml-config > $(CONFIGXML)
		/usr/bin/xsltproc -o $(MANPAGE) $(MANXSL) $(HELPXML)

clean::
	## Clean up generated files
		rm -f $(MANPAGE)
		rm -f $(HELPXML)
		rm -f $(CONFIGXML)

Builds:

libtidy-0.99-0
html syntax checker and reformatter - library
libtidy-dev
html syntax checker and reformatter - development
tidy-doc
html syntax checker and reformatter - documentation
tidy
html syntax checker and reformatter