# Makefile for creating the documentation
# only needed if you're a developer of source-highlight-ide.
#
# 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.

COLLECTIONGENERATOR = qcollectiongenerator
DOXYGEN = doxygen

Doxygen.log: Doxyfile source-highlight-ide-doc.h source-highlight-ide.qhcp
	$(DOXYGEN)
	cp -f ./source-highlight-ide.qhcp ./share/doc/source-highlight-ide/html/
	cd ./share/doc/source-highlight-ide/html/ && $(COLLECTIONGENERATOR) ./source-highlight-ide.qhcp -o ./source-highlight-ide.qhc
