Allow changing the headers parsed for documentation from YateLocal.mak
git-svn-id: http://yate.null.ro/svn/yate/trunk@1399 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
f13a2e5f81
commit
c77d6aee6b
9
Doxyfile
9
Doxyfile
|
@ -62,14 +62,7 @@ WARN_LOGFILE =
|
|||
#---------------------------------------------------------------------------
|
||||
# configuration options related to the input files
|
||||
#---------------------------------------------------------------------------
|
||||
INPUT = yatecbase.h \
|
||||
yateclass.h \
|
||||
yatengine.h \
|
||||
yatephone.h \
|
||||
contrib/ypbx/yatepbx.h
|
||||
# contrib/ysip/yatesip.h \
|
||||
# contrib/yrtp/yatertp.h \
|
||||
# contrib/yss7/yatess7.h \
|
||||
INPUT = yatecbase.h yateclass.h yatengine.h yatephone.h
|
||||
FILE_PATTERNS =
|
||||
RECURSIVE = NO
|
||||
EXCLUDE =
|
||||
|
|
32
Makefile.in
32
Makefile.in
|
@ -31,19 +31,7 @@ CLEANS = $(PROGS) $(SLIBS) $(LIBS) $(OBJS) yatepaths.h core
|
|||
COMPILE = $(CXX) $(DEFS) $(DEBUG) $(INCLUDES) $(CFLAGS)
|
||||
LINK = $(CXX) $(LDFLAGS)
|
||||
|
||||
DOCGEN :=
|
||||
DOCGEN_K :=
|
||||
DOCGEN_D :=
|
||||
ifneq (_@KDOC_BIN@,_)
|
||||
DOCGEN_K := @KDOC_BIN@ -C ./kdoc-filter.sh -d docs/api/ $(INCS) \
|
||||
contrib/ypbx/yatepbx.h
|
||||
# contrib/ysip/yatesip.h contrib/yrtp/yatertp.h contrib/yss7/yatess7.h
|
||||
DOCGEN := $(DOCGEN_K)
|
||||
endif
|
||||
ifneq (_@DOXYGEN_BIN@,_)
|
||||
DOCGEN_D := @DOXYGEN_BIN@ Doxyfile
|
||||
DOCGEN := $(DOCGEN_D)
|
||||
endif
|
||||
DOCGEN_F := $(INCS)
|
||||
|
||||
prefix = @prefix@
|
||||
exec_prefix = @exec_prefix@
|
||||
|
@ -62,6 +50,18 @@ scrdir = $(basedir)/scripts
|
|||
# include optional local make rules
|
||||
-include YateLocal.mak
|
||||
|
||||
DOCGEN :=
|
||||
DOCGEN_K :=
|
||||
DOCGEN_D :=
|
||||
ifneq (_@KDOC_BIN@,_)
|
||||
DOCGEN_K := @KDOC_BIN@ -C ./kdoc-filter.sh -d docs/api/ $(DOCGEN_F)
|
||||
DOCGEN := $(DOCGEN_K)
|
||||
endif
|
||||
ifneq (_@DOXYGEN_BIN@,_)
|
||||
DOCGEN_D := (cat Doxyfile; echo 'INPUT = $(DOCGEN_F)') | @DOXYGEN_BIN@ -
|
||||
DOCGEN := $(DOCGEN_D)
|
||||
endif
|
||||
|
||||
.PHONY: all everything debug ddebug xdebug ndebug
|
||||
all: engine modules clients
|
||||
|
||||
|
@ -140,11 +140,7 @@ apidocs: @srcdir@/docs/api/index.html
|
|||
|
||||
@srcdir@/docs/api/index.html: Doxyfile \
|
||||
@srcdir@/yateclass.h @srcdir@/yatengine.h \
|
||||
@srcdir@/yatephone.h @srcdir@/yatecbase.h \
|
||||
@srcdir@/contrib/ypbx/yatepbx.h
|
||||
# @srcdir@/contrib/ysip/yatesip.h \
|
||||
# @srcdir@/contrib/yrtp/yatertp.h \
|
||||
# @srcdir@/contrib/yss7/yatess7.h
|
||||
@srcdir@/yatephone.h @srcdir@/yatecbase.h
|
||||
$(MAKE) apidocs-build
|
||||
|
||||
.PHONY: strip sex love war
|
||||
|
|
Loading…
Reference in New Issue