SUBDIRS = pictures DIST_SUBDIRS = $(SUBDIRS) xsl doc_master = guikachu.xml doc_supp = intro.xml using.xml resource-win.xml menu-editor.xml \ bitmaps.xml form-editor.xml resources.xml widgets.xml doc_sources = $(doc_master) $(doc_supp) gen_htmls = index.html using.html resource-win.html menu-editor.html \ bitmaps.html form-editor.html resources.html widgets.html doc_htmls = $(gen_htmls) guikachu-doc-html.css gen_dbs = $(doc_master:.xml=.docbook) doc_dbs = $(gen_dbs) xsl_html_dir = xsl/html xsl_html = $(xsl_html_dir)/guikachu-doc.xsl xsl_html_supp = $(xsl_html_dir)/section.xsl \ $(xsl_html_dir)/inline.xsl \ $(xsl_html_dir)/property.xsl \ $(xsl_html_dir)/resource.xsl \ $(xsl_html_dir)/link.xsl \ $(xsl_html_dir)/toc.xsl xsl_db_dir = xsl/docbook xsl_db = $(xsl_db_dir)/guikachu-doc.xsl xsl_db_supp = $(xsl_db_dir)/inline.xsl \ $(xsl_db_dir)/property.xsl \ $(xsl_db_dir)/resource.xsl EXTRA_DIST = $(doc_sources) $(doc_dbs) $(doc_htmls) \ TODO MAINTAINERCLEANFILES = $(gen_htmls) $(gen_docbooks) helpdir = $(datadir)/gnome/help/guikachu/C help_DATA = $(doc_htmls) $(doc_dbs) if HAVE_XSLTPROC $(gen_htmls): $(doc_sources) $(xsl_html) $(xsl_html_supp) @$(XSLTPROC) --xinclude $(xsl_html) $(doc_master) $(gen_dbs): $(doc_sources) $(xsl_db) $(xsl_db_supp) @$(XSLTPROC) --xinclude $(xsl_db) $(doc_master) endif