Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC DEL 1ns 4cha
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
2
Issues
2
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
FMC DEL 1ns 4cha
Commits
cab8af89
Commit
cab8af89
authored
Nov 14, 2022
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bld: improve doc build
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
38668fb0
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
34 additions
and
28 deletions
+34
-28
Makefile
doc/Makefile
+2
-25
Makefile.dependencies
doc/Makefile.dependencies
+32
-0
.gitignore
doc/software/.gitignore
+0
-3
No files found.
doc/Makefile
View file @
cab8af89
...
...
@@ -3,7 +3,7 @@
# You can set these variables from the command line, and also
# from the environment for the first two.
SPHINXOPTS
?=
SPHINXOPTS
=
-Drelease
=
$(
shell
git describe
)
-Dversion
=
$(
shell
git describe |
cut
-d
"-"
-f
1 |
tr
-d
"v"
)
SPHINXBUILD
?=
sphinx-build
SOURCEDIR
=
.
BUILDDIR
=
_build
...
...
@@ -17,28 +17,5 @@ help:
# 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)
-C
drawings
$(MAKE)
doxygen
TARGET
=
$@
@
$(MAKE)
-f
Makefile.dependencies
$@
@
$(SPHINXBUILD)
-M
$@
"
$(SOURCEDIR)
"
"
$(BUILDDIR)
"
$(SPHINXOPTS)
$(O)
GIT_VERSION
=
$(
shell
git describe
--dirty
--long
--tags
)
GIT_VERSION
=
$(
shell
git describe
--dirty
--long
--tags
)
doxygen
:
ifeq
($(TARGET),clean)
@rm
-rf
doxygen-fd-output
.doxystamp
else
$(MAKE)
.doxystamp
endif
# List of Doxygen folders to consider
DOXINPUT
:=
../../lib
DOXINPUT
+=
../../kernel/fine-delay.h
DOXEXCL
:=
../../lib/PyFmcFineDelay
# List of actual Doxygen source files
DOXSRC
=
$(
shell
find
$(DOXINPUT)
-type
f
-name
'*.[chS]'
)
.doxystamp
:
$(DOXSRC)
GIT_VERSION
=
$(GIT_VERSION)
DOXINPUT
=
"
$(DOXINPUT)
"
DOXEXCL
=
"
$(DOXEXCL)
"
doxygen ./doxygen-fd-config
@
touch
.doxystamp
doc/Makefile.dependencies
0 → 100644
View file @
cab8af89
# SPDX-FileCopyrightText: 2020 CERN (home.cern)
#
# SPDX-License-Identifier: CC-BY-SA-4.0+
TOP_DIR
:=
$(
shell
pwd
)
/..
SW_DIR
:=
$(TOP_DIR)
/software
DOXY_OUT
:=
doxygen-fd-output
all
:
doxygen drawings
GIT_VERSION
=
$(
shell
git describe
--dirty
--long
--tags
)
DOXINPUT
:=
$(SW_DIR)
/lib
DOXINPUT
+=
$(SW_DIR)
/kernel/fine-delay.h
DOXEXCL
:=
$(SW_DIR)
/lib/PyFmcFineDelay
doxygen
:
$(DOXY_OUT)
$(DOXY_OUT)
:
doxygen-fd-config
GIT_VERSION
=
$(GIT_VERSION)
DOXINPUT
=
"
$(DOXINPUT)
"
DOXEXCL
=
"
$(DOXEXCL)
"
doxygen
$<
drawings
:
$(MAKE)
-C
$@
clean
:
$(MAKE)
-C
drawings
$@
@
rm
-rf
$(DOXY_OUT)
# Whatever sphinx target
%
:
all
@
echo
>
/dev/null
.PHONY
:
all clean doxygen drawings
doc/software/.gitignore
deleted
100644 → 0
View file @
38668fb0
_build
.doxystamp
doxygen-fd-output
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