Merge pull request #89 from orca-software/add_doxygen_docs

Add doxygen docs
This commit is contained in:
Peter Haag 2017-12-15 10:41:46 +01:00 committed by GitHub
commit a0ac615ed7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 2484 additions and 1 deletions

9
.gitignore vendored
View File

@ -52,6 +52,7 @@
/missing
/test-driver
/ylwrap
/doc/Makefile.in
# Configure generated files
/Makefile
@ -64,6 +65,8 @@
/libtool
/man/Makefile
/stamp-h1
/doc/Doxyfile
/doc/Makefile
# Binaries generated by make
/bin/.libs/
@ -80,3 +83,9 @@
/bin/scanner.c
/bin/sfcapd
/extra/nftrack/.dirstamp
# Generated docs
/doc/doxygen-build.stamp
/doc/html/
/doc/man/
/doc/xml/

View File

@ -1,4 +1,4 @@
SUBDIRS = . bin man
SUBDIRS = . bin man doc
EXTRA_DIST = CreateSubHierarchy.pl LICENSE BSD-license.txt extra/PortTracker.pm extra/nfdump.spec bootstrap

View File

@ -435,6 +435,11 @@ char string[16];
]
)
AC_PATH_PROG([DOXYGEN], [doxygen], [])
AM_CONDITIONAL([HAVE_DOXYGEN], [test -n "$DOXYGEN"])
AM_COND_IF([HAVE_DOXYGEN], AC_CONFIG_FILES([doc/Doxyfile]))
AC_OUTPUT(doc/Makefile)
#AC_CONFIG_FILES([Makefile])
AC_OUTPUT(Makefile bin/Makefile man/Makefile)

2445
doc/Doxyfile.in Normal file

File diff suppressed because it is too large Load Diff

24
doc/Makefile.am Normal file
View File

@ -0,0 +1,24 @@
directory = $(top_srcdir)/doc
if HAVE_DOXYGEN
doxygen-build.stamp: Doxyfile
$(DOXYGEN) Doxyfile
touch $@
else
doxygen-build.stamp:
@echo "*** Doxygen not found. Documentation will not be build."
touch $@
endif
all-local: doxygen-build.stamp
clean-local:
rm -f doxygen-build.stamp
rm -rf html
rm -rf man
rm -rf xml