Added tutorial.lyx to the archive and updated the 'docs' Makefile target.
[libpwmd.git] / doc / Makefile.am
blob791dabd9ad7bee232709df0e102b0659b6600102
1 EXTRA_DIST = doxygen.conf.in.in DoxygenLayout.xml tutorial.sgml tutorial.html \
2              tutorial.lyx
4 dist_man3_MANS = libpwmd.3
5 dist_man1_MANS = pwmc.1
7 doxygen:
8         $(MAKE) -C $(top_builddir)/src libpwmd.h
9         @rm -f libpwmd.3.in
10         @sed 's/\(.*\)^^SRC_DIR^^/\1$(shell echo $(abs_top_builddir) | sed 's/\//\\\//g')\/src/' < doxygen.conf.in > doxygen.conf
11         doxygen doxygen.conf && mv -f man/man3/libpwmd.h.3 libpwmd.3.in
12         @test -s libpwmd.3.in && sed '5s/.*$$/libpwmd\.h - an API for accessing pwmd/' < libpwmd.3.in > libpwmd.3 && echo Successfully generated libpwmd.3.
14 tutorial.sgml:
16 tutorial.html: tutorial.sgml
17         sgmltools -b onehtml tutorial.sgml
19 docs: doxygen tutorial.html