# 
# Makefile for it++
#
# Makefile,v 1.10 2004/10/28 13:29:00 tonyottosson Exp
#
#

SUBDIRS = src doc tests win32
SUBAUTODIRS = src
CGIPATH = /www/research/communication/cgi-bin/local/it++
WWWBETAPATH = /www/sw/it++/beta
WWWSTABLEPATH = /www/sw/it++/stable
ALLJUNKFILES = $(IT_DIR)/MakeConfig $(IT_DIR)/include/itconfig.h

include MakeConfig

doc: doxy

doxy: doxy_getting_started doxy_refman doxy_html doxy_html_dist

doxy_html:  
	doxygen doc/doxygen_html_config > doc/doxygen_html_config.log
	echo "Open the file doc/html/index.html in your web browser to view the result."


doxy_refman:  
	doxygen doc/doxygen_refman_config > doc/doxygen_refman_config.log
	$(MAKE) -f itpp_refman_makefile -C doc/latex/refman ps pdf
	mv doc/latex/refman/itpp_refman.ps doc/html
	mv doc/latex/refman/itpp_refman.pdf doc/html
 

doxy_getting_started:  
	doxygen doc/doxygen_getting_started_config > doc/doxygen_getting_started_config.log
	$(MAKE) -f getting_started_makefile -C doc/latex/getting_started ps pdf
	mv doc/latex/getting_started/getting_started.ps doc/html
	mv doc/latex/getting_started/getting_started.pdf doc/html

doxy_html_dist:
	cd doc/html; tar cfz itpp_doc_html.tar.gz *

#cvslog:
#	./bin/cvs2html -k -a -o doc/cvslog/index.html -c cvslogs.html -f -v

#.PHONY: doc
#doc:
#	$(MAKE) -C doc
#
#installdoc:
#	cp html/* $(WWWSTABLEPATH)/.
#	cp html/search_stable.cgi $(CGIPATH)/.
#	cp Makefile.installdoc $(WWWSTABLEPATH)/Makefile
#	$(MAKE) -C $(WWWSTABLEPATH)
#
#betadoc:
#	cp doc/doxygen.beta.config doc/doxygen.config
#	$(MAKE) -C doc
#
#installbetadoc:
#	cp html/* $(WWWBETAPATH)/.
#	cp html/search_beta.cgi $(CGIPATH)/.
#	cp Makefile.installdoc $(WWWBETAPATH)/Makefile
#	$(MAKE) -C $(WWWBETAPATH)
#
installman:
	catman -M man








syntax highlighted by Code2HTML, v. 0.9.1