Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
PROSA - Formally Proven Schedulability Analysis
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lasse Blaauwbroek
PROSA - Formally Proven Schedulability Analysis
Commits
81dcfa38
Commit
81dcfa38
authored
5 years ago
by
Björn Brandenburg
Browse files
Options
Downloads
Patches
Plain Diff
fix links to Coq standard library in coqdoc output
Also switch how this is patched into the Makefile while we're at it.
parent
affc3a0b
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
create_makefile.sh
+2
-9
2 additions, 9 deletions
create_makefile.sh
scripts/Makefile.patch
+9
-0
9 additions, 0 deletions
scripts/Makefile.patch
with
11 additions
and
9 deletions
create_makefile.sh
+
2
−
9
View file @
81dcfa38
...
...
@@ -16,16 +16,9 @@ else
sed
-i
's|$(notdir $(^:.vo=))|$(addprefix rt., $(subst /,., $(^:.vo=)))|g'
Makefile
fi
# Fix 'make html' so that it parses comments and has links to ssreflect.
if
[
"
$(
uname
)
"
==
"Darwin"
]
;
then
sed
-i
''
's|-interpolate -utf8|--interpolate --utf8 --plain-comments --parse-comments --external https://math-comp.github.io/math-comp/htmldoc/ mathcomp|g'
Makefile
else
sed
-i
's|-interpolate -utf8|--interpolate --utf8 --plain-comments --parse-comments --external https://math-comp.github.io/math-comp/htmldoc/ mathcomp|g'
Makefile
fi
# Patch Makefile.coqdocjs for pretty documentation targets
printf
"
\n
# Include pretty documentation targets
\n
include scripts/coqdocjs/Makefile.coqdocjs"
>>
Makefile
# Patch HTML target to switch out color
# Patch HTML target to switch out color, and
# so that it parses comments and has links to ssreflect.
patch
-s
< scripts/Makefile.patch
This diff is collapsed.
Click to expand it.
scripts/Makefile.patch
+
9
−
0
View file @
81dcfa38
--- Makefile.orig 2019-10-15 22:37:51.000000000 +0200
+++ Makefile 2019-10-15 22:33:50.000000000 +0200
@@ -179,7 +179,7 @@
# these flags do NOT contain the libraries, to make them easier to overwrite
COQFLAGS?=-q $(OTHERFLAGS) $(COQEXTRAFLAGS)
COQCHKFLAGS?=-silent -o $(COQCHKEXTRAFLAGS)
-COQDOCFLAGS?=-interpolate -utf8 $(COQDOCEXTRAFLAGS)
+COQDOCFLAGS?=-interpolate -utf8 --parse-comments --coqlib https://coq.inria.fr/distrib/current/stdlib/ --external https://math-comp.github.io/math-comp/htmldoc/ mathcomp $(COQDOCEXTRAFLAGS)
COQDOCLIBS?=$(COQLIBS_NOML)
@@ -422,6 +422,9 @@
$(HIDE)mkdir -p html
$(HIDE)$(COQDOC) \
...
...
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