###############################
# Makefile for NDO
#
# Last Modified: 09-13-2009
###############################


prefix=@prefix@
exec_prefix=@exec_prefix@
LOGDIR=@localstatedir@
CFGDIR=@sysconfdir@
BINDIR=@bindir@
LIBEXECDIR=@libexecdir@
DATAROOTDIR=@datarootdir@
INSTALL=@INSTALL@


all:
	@echo ""
	@echo "Please type what you want, possible targets:"
	@echo "make en-html"
	@echo "make en-html-singe"
	@echo "make en-pdf"
	@echo ""

en-html:
	xsltproc --xinclude ../xsl/html-chunked.xsl NDOUtils.xml
	

en-html-single:
	xsltproc --output ../../html/en-en/NDOUtils-single.html --xinclude ../xsl/html-single.xsl NDOUtils.xml

en-pdf:
	xsltproc --xinclude -o ../NDOUtils.fo ../xsl/fo.xsl ./NDOUtils.xml 
	fop ../NDOUtils.fo ../../NDOUtils-en.pdf
	rm -f ../NDOUtils.fo

distclean:
	rm -f Makefile
