diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/Makefile.am | 28 | ||||
-rw-r--r-- | doc/reference.doxygen.in | 2 |
2 files changed, 18 insertions, 12 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 + diff --git a/doc/reference.doxygen.in b/doc/reference.doxygen.in index b7fbe90..8ab5f57 100644 --- a/doc/reference.doxygen.in +++ b/doc/reference.doxygen.in @@ -38,7 +38,7 @@ PROJECT_NUMBER = @PACKAGE_VERSION@ # If a relative path is entered, it will be relative to the location # where doxygen was started. If left blank the current directory will be used. -OUTPUT_DIRECTORY = @top_builddir@/doc/slv2 +OUTPUT_DIRECTORY = # If the CREATE_SUBDIRS tag is set to YES, then doxygen will create # 4096 sub-directories (in 2 levels) under the output directory of each output |