Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-common
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Timo Koch
dune-common
Commits
ff8568fb
Commit
ff8568fb
authored
15 years ago
by
Christian Engwer
Browse files
Options
Downloads
Patches
Plain Diff
skip generation if the module doesn't contain a doc/doxygen directory
[[Imported from SVN: r5687]]
parent
f170d9c3
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bin/dunedoxynize
+15
-3
15 additions, 3 deletions
bin/dunedoxynize
with
15 additions
and
3 deletions
bin/dunedoxynize
+
15
−
3
View file @
ff8568fb
#!/bin/sh
export
DOXYOUT
=
${
1
:-
doc
/doxygen/Doxyfile.in
}
shift
export
DOXYDIR
=
doc/doxygen/
DOXYOUT
=
${
1
:-
doc
/doxygen/Doxyfile.in
}
OUTDIR
=
`
dirname
"
$DOXYOUT
"
`
DOXYDIR
=
"
doc/doxygen/
"
find_doxystyle
()
{
...
...
@@ -108,12 +108,24 @@ if ! [ -f dune.module ]; then
exit
1
fi
# quite if your module doesn't have any documentation
if
!
[
-d
"
$OUTDIR
"
]
;
then
if
[
$#
-eq
0
]
;
then
exit
0
else
echo
"Error: output directory
$OUTDIR
does not exist."
exit
0
fi
fi
# search for doxygen style
if
!
find_doxystyle
;
then
echo
"Error: dunedoxynize global style not found"
exit
1
fi
# drop the parameter of the output file
shift
# make sure that there is at least one Doxylocal file
if
!
(
test_doxylocal
"
${
@
:-
.
}
"
||
[
$#
-eq
0
])
;
then
echo
"Error: you didn't supply any valid Doxylocal file"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment