Annotation of embedaddon/confuse/doc/Makefile.am, revision 1.1

1.1     ! misho       1: EXTRA_DIST = doxygen-footer.html doxygen-header.html doxygen.css tutorial.xml \
        !             2:             $(TUTORIAL_CSOURCES) css.xsl tutorial.css Doxyfile.in Doxyfile
        !             3: 
        !             4: # I'd like to have these programs only compile at 'make documentation' time.
        !             5: # How?
        !             6: # noinst_PROGRAMS = listing1 listing2 listing3 listing4 listing5 listing8
        !             7: LDADD = ../src/libconfuse.la
        !             8: INCLUDES = -I$(top_srcdir)/src
        !             9: AM_LDFLAGS = -L../src/
        !            10: LIBS = $(LTLIBINTL)
        !            11: 
        !            12: TUTORIAL_CSOURCES = listing1.c listing2.c listing3.c listing4.c \
        !            13:                    listing5.c listing6.c listing7.c listing8.c
        !            14: TUTORIAL_LISTINGS = $(TUTORIAL_CSOURCES:.c=.xml)
        !            15: 
        !            16: .c.xml:
        !            17:        echo "<programlisting id=\"$*\"><![CDATA[" > $@
        !            18:        sed = $< | sed 'N;s/\n/\t/' >> $@
        !            19:        echo ']]></programlisting>' >> $@
        !            20: 
        !            21: tutorial-html/index.html: tutorial.xml $(TUTORIAL_LISTINGS) css.xsl tutorial.css
        !            22:        xmllint --valid --noout $< && xmlto -o tutorial-html --extensions -m css.xsl xhtml $<
        !            23:        cp -f tutorial.css tutorial-html/
        !            24: 
        !            25: tutorial.pdf: tutorial.xml $(TUTORIAL_LISTINGS)
        !            26:        xmllint --valid --noout $< && xmlto pdf $<
        !            27: 
        !            28: tutorial: tutorial-html
        !            29: tutorial-html: tutorial-html/index.html
        !            30: tutorial-pdf: tutorial.pdf
        !            31: 
        !            32: html/index.html: Doxyfile
        !            33:        doxygen
        !            34: doxygen-manual: html/index.html ../src/confuse.h
        !            35: 
        !            36: documentation: tutorial doxygen-manual
        !            37: 
        !            38: dist-hook: tutorial doxygen-manual
        !            39:        cp -pr html $(distdir)
        !            40:        cp -pr man $(distdir)
        !            41:        cp -pr tutorial-html $(distdir)
        !            42: 
        !            43: CLEANFILES=*~ '\#*\#' $(TUTORIAL_LISTINGS)
        !            44: DISTCLEANFILES=
        !            45: MOSTLYCLEANFILES=tutorial.pdf
        !            46: 
        !            47: celan: clean
        !            48: 

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>