# # Makefile for building documentation of mylist. # Type 'make' to build documentation # # Developed by Lubomir Host 'rajo' # Copyright (c) 2004-2005 Platon SDG, http://platon.sk/ # Licensed under terms of GNU General Public License. # All rights reserved. # # $Platon: $ #all: html pdf all: @echo @echo "Empty now, documentation not written yet." @echo html: doc/sgml/defs.sgml @echo; \ echo "----------------------------------------------------"; \ echo "Generating HTML documentation, please be patient ..."; \ echo "----------------------------------------------------"; \ echo; \ cd doc/ \ && docbook2html -o html/ "`pwd`/sgml/$(PACKAGE).sgml" \ && cp -r sgml/images html/ \ && rm -rf html/images/CVS pdf: doc/sgml/defs.sgml @echo; \ echo "---------------------------------------------------"; \ echo "Generating PDF documentation, please be patient ..."; \ echo "---------------------------------------------------"; \ echo; \ cd doc/ \ && docbook2pdf -o pdf/ "`pwd`/sgml/$(PACKAGE).sgml" \ && mv pdf/$(PACKAGE).pdf pdf/$(PACKAGE)-$(VERSION).pdf \ && rm -rf pdf/$(PACKAGE).out pdf/$(PACKAGE).aux pdf/$(PACKAGE).log