Skip to content

Commit

Permalink
Add make doc and fix Doxygen from top_builddir
Browse files Browse the repository at this point in the history
  • Loading branch information
Rémi Denis-Courmont committed Aug 13, 2008
1 parent ebd8003 commit 119a49f
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 11 deletions.
5 changes: 4 additions & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,10 @@ libvlc:
core:
cd src && $(MAKE) $(AM_MAKEFLAGS) vlc$(EXEEXT)

.PHONY: libvlc core
doc:
cd doc && $(MAKE) $(AM_MAKEFLAGS) doc

.PHONY: libvlc core doc

#To get some nice output
nice:
Expand Down
1 change: 1 addition & 0 deletions doc/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
ChangeLog-*
vlc.tags
Doxyfile
doxygen
16 changes: 8 additions & 8 deletions doc/Doxyfile → doc/Doxyfile.in
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ PROJECT_NAME = VLC
# This could be handy for archiving the generated documentation or
# if some version control system is used.

PROJECT_NUMBER =
PROJECT_NUMBER = @VERSION@

# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
# base path where the generated documentation will be put.
Expand Down Expand Up @@ -450,9 +450,9 @@ WARN_LOGFILE =
# directories like "/usr/src/myproject". Separate the files or directories
# with spaces.

INPUT = ../src \
../include \
../modules
INPUT = @top_srcdir@/src \
@top_srcdir@/include \
@top_srcdir@/modules

# If the value of the INPUT tag contains directories, you can use the
# FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp
Expand All @@ -473,7 +473,7 @@ RECURSIVE = YES
# excluded from the INPUT source files. This way you can easily exclude a
# subdirectory from a directory tree whose root is specified with the INPUT tag.

EXCLUDE = ../src/extras
EXCLUDE = @top_srcdir@/src/extras

# The EXCLUDE_SYMLINKS tag can be used select whether or not files or
# directories that are symbolic links (a Unix filesystem feature) are excluded
Expand Down Expand Up @@ -521,7 +521,7 @@ IMAGE_PATH =
# to standard output. If FILTER_PATTERNS is specified, this tag will be
# ignored.

INPUT_FILTER = "../toolbox --add-include"
INPUT_FILTER = "@top_srcdir@/toolbox --add-include"

# The FILTER_PATTERNS tag can be used to specify filters on a per file pattern
# basis. Doxygen will compare the file name with each pattern and apply the
Expand Down Expand Up @@ -971,8 +971,8 @@ SEARCH_INCLUDES = YES
# contain include files that are not input files but should be processed by
# the preprocessor.

INCLUDE_PATH = ../include \
../include/vlc
INCLUDE_PATH = @top_srcdir@/include \
@top_srcdir@/include/vlc

# You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard
# patterns (like *.h and *.hpp) to filter out the header-files in the
Expand Down
11 changes: 9 additions & 2 deletions doc/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ EXTRA_DIST = \
intf-vcd.txt \
release-howto.txt \
arm-crosscompile-howto.sgml \
Doxyfile.in \
Configure.help \
lirc/example.lircrc \
skins/skins-howto.txt \
Expand All @@ -47,7 +48,13 @@ EXTRA_DIST = \
demo.sh \
$(NULL)

DISTCLEANFILES = $(CHANGELOGS)
DISTCLEANFILES = $(CHANGELOGS) Doxyfile

Doxyfile: Doxyfile.in $(top_builddir)/config.status
cd $(top_builddir) && $(SHELL) ./config.status --file=$(subdir)/$@

doc: Doxyfile
doxygen

$(CHANGELOGS): Makefile.am
if test -d "$(top_srcdir)/.git"; then \
Expand All @@ -59,7 +66,7 @@ $(CHANGELOGS): Makefile.am
fi

# This one needs to be rebuilt all the time :)
.PHONY: ChangeLog-2008 changelogs
.PHONY: ChangeLog-2008 changelogs doc

changelogs: $(CHANGELOGS)

Expand Down

0 comments on commit 119a49f

Please sign in to comment.