Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
frama-c
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
pub
frama-c
Commits
64eb08ac
Commit
64eb08ac
authored
2 years ago
by
Allan Blanchard
Browse files
Options
Downloads
Patches
Plain Diff
[doc] no more make src-distrib
parent
7e59d139
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/release/standalone-src.tex
+6
-31
6 additions, 31 deletions
doc/release/standalone-src.tex
with
6 additions
and
31 deletions
doc/release/standalone-src.tex
+
6
−
31
View file @
64eb08ac
...
...
@@ -4,48 +4,23 @@
\label
{
chap:make-src-distrib
}
Requirements and tips to create a source release of Frama-C
(i.e.
\texttt
{
make
src
-distrib
}
).
(i.e.
\texttt
{
dev/
make-distrib
.sh
}
).
\section
{
Requirements
}
You will need the following programs:
\begin{itemize}
\item
a custom (unreleased) version of
\texttt
{
headache
}
;
\item
on Mac OS, binaries
\texttt
{
gtar
}
and
\texttt
{
gzip
}
.
\end{itemize}
Details about how to install them are presented below.
\section
{
Custom headache
}
Clone the following repository (by default, every Frama-C developer has
access to it):
\texttt
{
git clone git@git.frama-c.com/dev/headache.git
}
Then run:
\verb
+
./configure && make && make install
+
Note that some extra opam packages may be needed, such as
\texttt
{
camomile
}
.
This version of
\texttt
{
headache
}
needs to be in your PATH for the next steps.
\section
{
Check your headers
}
Before making a source distribution, make sure your headers are up-to-date,
by running:
\texttt
{
make check-headers
}
Any plug-ins you are distributing along with Frama-C should have their
distributed files (all OCaml sources, plus those listed in
\verb
+
PLUGIN_DISTRIBUTED_EXTERNAL
+
) listed in file:
\verb
+
headers/header_spec.txt
+
Their headers will then be checked by the above make target.
Headers are checked by the script. For external plugins, they must provide a
\texttt
{
.gitattributes
}
file as
\texttt
{
git
}
is used to find the headers to
apply.
\textbf
{
Note:
}
if you fail to check your headers, the distribution script may
corrupt your files. You were warned.
...
...
@@ -75,10 +50,10 @@ or an {\em open-source} distribution.
inside a virtual machine for a paper).
\end{itemize}
Use
Makefil
e variable
\verb
+
OPEN_SOURCE=yes
+
to create an open-source release,
Use
th
e variable
\verb
+
OPEN_SOURCE=yes
+
to create an open-source release,
as in:
\verb
+
make src-distrib OPEN_SOURCE=yes
+
\verb
+
OPEN_SOURCE=yes ./dev/make-distrib.sh
+
Otherwise, by default a closed-source archive will be created.
...
...
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