diff options
Diffstat (limited to 'doc/Makefile.am')
-rw-r--r-- | doc/Makefile.am | 28 |
1 files changed, 17 insertions, 11 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am index 50532ed..33cb830 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,15 +1,21 @@ -EXTRA_DIST = mainpage.dox man.dox html.dox reference.doxygen +dist_man_MANS = \ + man/man3/slv2.3 \ + man/man3/slv2_collections.3 \ + man/man3/slv2_data.3 \ + man/man3/slv2_library.3 \ + man/man3/slv2_util.3 \ + man/man3/slv2_world.3 -man_MANS = \ - @abs_top_builddir@/doc/slv2/man/man3/slv2.3 \ - @abs_top_builddir@/doc/slv2/man/man3/slv2_collections.3 \ - @abs_top_builddir@/doc/slv2/man/man3/slv2_data.3 \ - @abs_top_builddir@/doc/slv2/man/man3/slv2_library.3 \ - @abs_top_builddir@/doc/slv2/man/man3/slv2_util.3 \ - @abs_top_builddir@/doc/slv2/man/man3/slv2_world.3 +EXTRA_DIST = mainpage.dox reference.doxygen.in $(man_MANS) -all-local: docs +%.3: + make docs -docs: $(srcdir)/reference.doxygen.in reference.doxygen $(srcdir)/../slv2/*.h - mkdir -p @abs_top_builddir@/doc/slv2 +reference.doxygen: @SLV2_SRCDIR@/doc/reference.doxygen.in + +distclean-local: + rm -rf man html + +docs: reference.doxygen @SLV2_SRCDIR@/slv2/*.h doxygen reference.doxygen + |