Makefile.am revision cc2ee177dbb3befca43e36cfc56778b006c3d050
1b9ddbd55930228422e82b34a141ad1b6093f5376Behdad EsfahbodRM=rm 227aba594c90b4444c35273a38f5fedc8e09d9a88Behdad EsfahbodMANDIR=$(DESTDIR)@mandir@/man1 3b9ddbd55930228422e82b34a141ad1b6093f5376Behdad Esfahbod 4b9ddbd55930228422e82b34a141ad1b6093f5376Behdad EsfahbodXSLTPROC=xsltproc 5b9ddbd55930228422e82b34a141ad1b6093f5376Behdad EsfahbodXSLTPROC_FLAGS=@XSLTPROC_FLAGS@ 6b9ddbd55930228422e82b34a141ad1b6093f5376Behdad EsfahbodXHTML_STYLESHEET=$(srcdir)/xsl/xhtml.xsl 7b9ddbd55930228422e82b34a141ad1b6093f5376Behdad EsfahbodCHUNK_XHTML_STYLESHEET=$(srcdir)/xsl/xhtml-chunk.xsl 8b9ddbd55930228422e82b34a141ad1b6093f5376Behdad EsfahbodXML_CATALOG_FILES=xsl/catalog.xml 9b9ddbd55930228422e82b34a141ad1b6093f5376Behdad EsfahbodSTYLESHEETS=$(CHUNK_XHTML_STYLESHEET) $(srcdir)/xsl/xhtml-common.xsl 10b9ddbd55930228422e82b34a141ad1b6093f5376Behdad Esfahbod 11b9ddbd55930228422e82b34a141ad1b6093f5376Behdad Esfahbodman_MANS = \ 12b9ddbd55930228422e82b34a141ad1b6093f5376Behdad Esfahbod oprofile.1 \ 13b9ddbd55930228422e82b34a141ad1b6093f5376Behdad Esfahbod opcontrol.1 \ 14b9ddbd55930228422e82b34a141ad1b6093f5376Behdad Esfahbod opreport.1 \ 15b9ddbd55930228422e82b34a141ad1b6093f5376Behdad Esfahbod opannotate.1 \ 16b9ddbd55930228422e82b34a141ad1b6093f5376Behdad Esfahbod opgprof.1 \ 17b9ddbd55930228422e82b34a141ad1b6093f5376Behdad Esfahbod ophelp.1 \ 18b9ddbd55930228422e82b34a141ad1b6093f5376Behdad Esfahbod oparchive.1 19b9ddbd55930228422e82b34a141ad1b6093f5376Behdad Esfahbod 20b9ddbd55930228422e82b34a141ad1b6093f5376Behdad Esfahbodhtmldir = $(prefix)/share/doc/oprofile 21b9ddbd55930228422e82b34a141ad1b6093f5376Behdad Esfahboddist_html_DATA = oprofile.html internals.html 22b9ddbd55930228422e82b34a141ad1b6093f5376Behdad Esfahbod 23b9ddbd55930228422e82b34a141ad1b6093f5376Behdad Esfahbodif have_xsltproc 24b9ddbd55930228422e82b34a141ad1b6093f5376Behdad Esfahbod 25b9ddbd55930228422e82b34a141ad1b6093f5376Behdad Esfahbodoprofile.html: ${top_srcdir}/doc/oprofile.xml 26b9ddbd55930228422e82b34a141ad1b6093f5376Behdad Esfahbod XML_CATALOG_FILES=$(XML_CATALOG_FILES) $(XSLTPROC) $(XSLTPROC_FLAGS) -o $@ --stringparam version @VERSION@ $(XHTML_STYLESHEET) $< 273ed4634ec349fa9e943ad23718c04be4dd4bba62Behdad Esfahbod 28a913b024d84973556094fd64ce5f0b7106fcc3b5Behdad Esfahbodinternals.html: ${top_srcdir}/doc/internals.xml 29352372ae5ea0998e40cf9fe43c22b6b610a5764eBehdad Esfahbod XML_CATALOG_FILES=$(XML_CATALOG_FILES) $(XSLTPROC) $(XSLTPROC_FLAGS) -o $@ --stringparam version @VERSION@ $(XHTML_STYLESHEET) $< 30a3e04bee2c2fa648759a87e460db6b4f1b685586Behdad Esfahbod 31a3e04bee2c2fa648759a87e460db6b4f1b685586Behdad Esfahbod# rules to generate oprofile.sf.net/doc files 32a3e04bee2c2fa648759a87e460db6b4f1b685586Behdad Esfahbod 33a3e04bee2c2fa648759a87e460db6b4f1b685586Behdad Esfahboddoc/index.html: ${top_srcdir}/doc/oprofile.xml 34a3e04bee2c2fa648759a87e460db6b4f1b685586Behdad Esfahbod -mkdir doc/ 35a3e04bee2c2fa648759a87e460db6b4f1b685586Behdad Esfahbod $(XSLTPROC) -o doc/ $(XSLTPROC_FLAGS) --stringparam version @VERSION@ $(CHUNK_XHTML_STYLESHEET) $< 36a3e04bee2c2fa648759a87e460db6b4f1b685586Behdad Esfahbod 37a3e04bee2c2fa648759a87e460db6b4f1b685586Behdad Esfahboddoc/internals/index.html: ${top_srcdir}/doc/internals.xml 38a3e04bee2c2fa648759a87e460db6b4f1b685586Behdad Esfahbod -mkdir doc/internals/ 39a3e04bee2c2fa648759a87e460db6b4f1b685586Behdad Esfahbod $(XSLTPROC) -o doc/internals/ $(XSLTPROC_FLAGS) --stringparam version @VERSION@ $(CHUNK_XHTML_STYLESHEET) $< 40a3e04bee2c2fa648759a87e460db6b4f1b685586Behdad Esfahbod 41a3e04bee2c2fa648759a87e460db6b4f1b685586Behdad Esfahbodchunk: doc/index.html doc/internals/index.html 42a2b471df821b32625d127f83b2f90e6d6a967e7eBehdad Esfahbod cp ${top_srcdir}/doc/buffers.png doc/internals/ 43ebe29733d44fe0fa9fb30f946ab0dd7a40336a24Behdad Esfahbod 44a2b471df821b32625d127f83b2f90e6d6a967e7eBehdad Esfahbodelse 45a2b471df821b32625d127f83b2f90e6d6a967e7eBehdad Esfahbod 46a2b471df821b32625d127f83b2f90e6d6a967e7eBehdad Esfahbodoprofile.html: 47a2b471df821b32625d127f83b2f90e6d6a967e7eBehdad Esfahbod touch $@ 48a2b471df821b32625d127f83b2f90e6d6a967e7eBehdad Esfahbod 49a2b471df821b32625d127f83b2f90e6d6a967e7eBehdad Esfahbodinternals.html: 50a2b471df821b32625d127f83b2f90e6d6a967e7eBehdad Esfahbod touch $@ 51a2b471df821b32625d127f83b2f90e6d6a967e7eBehdad Esfahbod 52a2b471df821b32625d127f83b2f90e6d6a967e7eBehdad Esfahbodchunk: 53a2b471df821b32625d127f83b2f90e6d6a967e7eBehdad Esfahbod 54a2b471df821b32625d127f83b2f90e6d6a967e7eBehdad Esfahbodendif 55a2b471df821b32625d127f83b2f90e6d6a967e7eBehdad Esfahbod 56a2b471df821b32625d127f83b2f90e6d6a967e7eBehdad Esfahboddistclean-local: 57a2b471df821b32625d127f83b2f90e6d6a967e7eBehdad Esfahbod $(RM) -f xsl/catalog-1.xml xsl/catalog.xml 58a2b471df821b32625d127f83b2f90e6d6a967e7eBehdad Esfahbod 59a2b471df821b32625d127f83b2f90e6d6a967e7eBehdad Esfahbodclean-local: 60a2b471df821b32625d127f83b2f90e6d6a967e7eBehdad Esfahbod $(RM) -f $(generated_mans) 61a2b471df821b32625d127f83b2f90e6d6a967e7eBehdad Esfahbod 62a2b471df821b32625d127f83b2f90e6d6a967e7eBehdad Esfahbod# these files are not cleaned by make uninstall automake bug ? 63a2b471df821b32625d127f83b2f90e6d6a967e7eBehdad Esfahboduninstall-local: 64a2b471df821b32625d127f83b2f90e6d6a967e7eBehdad Esfahbod rm -f @mandir@/cat1/oprofile.1.gz 65a2b471df821b32625d127f83b2f90e6d6a967e7eBehdad Esfahbod @for f in $(LINK_LIST); do \ 66a2b471df821b32625d127f83b2f90e6d6a967e7eBehdad Esfahbod rm -f $(CATDIR)/cat1/$$f.gz; \ 67a2b471df821b32625d127f83b2f90e6d6a967e7eBehdad Esfahbod done 68a2b471df821b32625d127f83b2f90e6d6a967e7eBehdad Esfahbod 69a2b471df821b32625d127f83b2f90e6d6a967e7eBehdad EsfahbodEXTRA_DIST = \ 70a2b471df821b32625d127f83b2f90e6d6a967e7eBehdad Esfahbod oprofile.1 \ 71a2b471df821b32625d127f83b2f90e6d6a967e7eBehdad Esfahbod oprofile.1.in \ 72a2b471df821b32625d127f83b2f90e6d6a967e7eBehdad Esfahbod oprofile.xml \ 73a2b471df821b32625d127f83b2f90e6d6a967e7eBehdad Esfahbod internals.xml \ 74a2b471df821b32625d127f83b2f90e6d6a967e7eBehdad Esfahbod xsl/catalog-1.xml.in \ 75ebe29733d44fe0fa9fb30f946ab0dd7a40336a24Behdad Esfahbod xsl/xhtml.xsl \ 76ebe29733d44fe0fa9fb30f946ab0dd7a40336a24Behdad Esfahbod xsl/xhtml-common.xsl \ 77a2b471df821b32625d127f83b2f90e6d6a967e7eBehdad Esfahbod xsl/xhtml-chunk.xsl \ 78a2b471df821b32625d127f83b2f90e6d6a967e7eBehdad Esfahbod srcdoc/Doxyfile.in \ 79a2b471df821b32625d127f83b2f90e6d6a967e7eBehdad Esfahbod srcdoc/Makefile 80ebe29733d44fe0fa9fb30f946ab0dd7a40336a24Behdad Esfahbod