# Makefile for creating the documentation
# only needed if you're a developer of qsource-highlight.
#
# Copyright (C) 2009  Lorenzo Bettini <http://www.lorenzobettini.it>
# See COPYING file that comes with this distribution

# In order to build the documentation you need the qt tools
# qdoc3, qhelpgenerator and qcollectiongenerator; these should
# be installed with your qt installation.

QDOC = qdoc3
HELPGENERATOR = qhelpgenerator
COLLECTIONGENERATOR = qcollectiongenerator

all:
	$(QDOC) ./qsource-highlight.qdocconf
	$(HELPGENERATOR) -o qsource-highlight.qch ./html/qsource-highlight.qhp
	$(COLLECTIONGENERATOR) ./qsource-highlight.qhcp -o qsource-highlight.qhc
