diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/Doxyfile.in | 2 | ||||
-rw-r--r-- | docs/Makefile.am | 38 |
2 files changed, 1 insertions, 39 deletions
diff --git a/docs/Doxyfile.in b/docs/Doxyfile.in index db05c1f..2b52bce 100644 --- a/docs/Doxyfile.in +++ b/docs/Doxyfile.in @@ -7,6 +7,6 @@ CASE_SENSE_NAMES = NO SORT_MEMBER_DOCS = NO QUIET = YES WARN_NO_PARAMDOC = YES -INPUT = @top_srcdir@/include/cubeb +INPUT = @CMAKE_CURRENT_SOURCE_DIR@/include/cubeb GENERATE_HTML = YES GENERATE_LATEX = NO diff --git a/docs/Makefile.am b/docs/Makefile.am deleted file mode 100644 index 5326ea1..0000000 --- a/docs/Makefile.am +++ /dev/null @@ -1,38 +0,0 @@ -doc_DATA = doxygen-build.stamp - -EXTRA_DIST = Doxyfile.in - -if HAVE_DOXYGEN -doxygen-build.stamp: Doxyfile ../include/cubeb/cubeb.h - doxygen - touch doxygen-build.stamp -else -doxygen-build.stamp: - echo "*** Warning: Doxygen not found; documentation will not be built." - touch doxygen-build.stamp -endif - -dist_docdir = $(distdir)/libcubeb - -dist-hook: - if test -d html; then \ - mkdir $(dist_docdir); \ - echo -n "copying built documenation..."; \ - cp -rp html $(dist_docdir)/html; \ - echo "OK"; \ - fi - - -install-data-local: doxygen-build.stamp - $(mkinstalldirs) $(DESTDIR)$(docdir) - if test -d html; then \ - cp -rp html $(DESTDIR)$(docdir)/html; \ - fi - -uninstall-local: - rm -rf $(DESTDIR)$(docdir) - -clean-local: - if test -d html; then rm -rf html; fi - if test -f doxygen-build.stamp; then rm -f doxygen-build.stamp; fi - |