Merge pull request #89 from orca-software/add_doxygen_docs
Add doxygen docs
This commit is contained in:
commit
a0ac615ed7
9
.gitignore
vendored
9
.gitignore
vendored
@ -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/
|
||||
|
@ -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
|
||||
|
@ -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
2445
doc/Doxyfile.in
Normal file
File diff suppressed because it is too large
Load Diff
24
doc/Makefile.am
Normal file
24
doc/Makefile.am
Normal 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user