Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
M
mock-turtle
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
hdl-core-lib
mock-turtle
Commits
3eb377d1
Commit
3eb377d1
authored
Jun 01, 2018
by
Dimitris Lampridis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc: cleanup Makefile and remove doxygen from list PHONY targets to avoid running it every time
parent
d2ee19c9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
7 deletions
+20
-7
.gitignore
doc/.gitignore
+1
-0
Makefile
doc/Makefile
+17
-5
doxygen-trtl-config
doc/doxygen-trtl-config
+2
-2
No files found.
doc/.gitignore
View file @
3eb377d1
_*
doxygen-trtl-output/
.doxystamp
doc/Makefile
View file @
3eb377d1
...
...
@@ -12,20 +12,32 @@ BUILDDIR = _build
help
:
@
$(SPHINXBUILD)
-M
help
"
$(SOURCEDIR)
"
"
$(BUILDDIR)
"
$(SPHINXOPTS)
$(O)
.PHONY
:
help
Makefile doxygen doxygen-clea
n
.PHONY
:
help
doxyge
n
# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%
:
Makefile
%
:
$(MAKE)
doxygen
TARGET
=
$@
@
$(SPHINXBUILD)
-M
$@
"
$(SOURCEDIR)
"
"
$(BUILDDIR)
"
$(SPHINXOPTS)
$(O)
GIT_VERSION
=
$(
shell
cd
$(src)
;
git describe
--dirty
--long
--tags
)
GIT_VERSION
=
$(
shell
git describe
--dirty
--long
--tags
)
doxygen
:
ifeq
($(TARGET),clean)
@echo
"Remove Doxygen files"
@rm
-rf
doxygen-trtl-output
@rm
-rf
doxygen-trtl-output
.doxystamp
else
GIT_VERSION
=
$(GIT_VERSION)
EXCLUDE_FILES
=
$(EXCLUDE_FILES)
doxygen ./doxygen-trtl-config
$(MAKE)
.doxystamp
endif
# List of Doxygen folders to consider
DOXINPUT
=
../software/lib ../software/firmware ../software/include
DOXEXCL
=
../software/firmware/scripts ../software/lib/PyMockTurtle ../software/kernel
# List of actual Doxygen source files
FINDEXCL
=
$
(
foreach xdir,
$(DOXEXCL)
,
!
-path
"
$(xdir)
"
)
DOXSRC
=
$(
shell
find
$(DOXINPUT)
-type
f
$(FINDEXCL))
.doxystamp
:
$(DOXSRC)
GIT_VERSION
=
$(GIT_VERSION)
DOXINPUT
=
"
$(DOXINPUT)
"
DOXEXCL
=
"
$(DOXEXCL)
"
doxygen ./doxygen-trtl-config
@
touch
.doxystamp
doc/doxygen-trtl-config
View file @
3eb377d1
...
...
@@ -13,9 +13,9 @@ CASE_SENSE_NAMES = YES
WARN_NO_PARAMDOC = YES
WARN_IF_UNDOCUMENTED = NO
INPUT =
../software/lib ../software/firmware ../software/include
INPUT =
$(DOXINPUT)
RECURSIVE = YES
EXCLUDE =
../software/firmware/scripts ../software/lib/PyMockTurtle ../software/kernel
EXCLUDE =
$(DOXEXCL)
GENERATE_HTML = NO
GENERATE_LATEX = NO
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment