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
b7da2c46
Commit
b7da2c46
authored
2 years ago
by
Loïc Correnson
Browse files
Options
Downloads
Patches
Plain Diff
[ivette] make install fixes
parent
48c07a99
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
ivette/ivette-opam.sh
+5
-1
5 additions, 1 deletion
ivette/ivette-opam.sh
ivette/makefile.opam
+8
-6
8 additions, 6 deletions
ivette/makefile.opam
with
13 additions
and
7 deletions
ivette/ivette-opam.sh
+
5
−
1
View file @
b7da2c46
...
@@ -21,6 +21,10 @@
...
@@ -21,6 +21,10 @@
# #
# #
##########################################################################
##########################################################################
# --------------------------------------------------------------------------
# --- Ivette bootstrapper for OPAM installation
# --------------------------------------------------------------------------
echo
"Building Ivette"
echo
"Building Ivette"
PWD
=
`
pwd
`
PWD
=
`
pwd
`
...
@@ -55,7 +59,7 @@ fi
...
@@ -55,7 +59,7 @@ fi
echo
"[2/3] Compiling Ivette"
echo
"[2/3] Compiling Ivette"
# --------------------------------------------------------------------------
# --------------------------------------------------------------------------
TMPDIR
=
`
mktemp
-d
-t
ivette
`
TMPDIR
=
`
mktemp
-d
`
cd
$TMPDIR
cd
$TMPDIR
tar
zxf
$PREFIX
/lib/frama-c/ivette.tgz
tar
zxf
$PREFIX
/lib/frama-c/ivette.tgz
cd
ivette
cd
ivette
...
...
This diff is collapsed.
Click to expand it.
ivette/makefile.opam
+
8
−
6
View file @
b7da2c46
...
@@ -27,15 +27,17 @@
...
@@ -27,15 +27,17 @@
.PHONY
:
install uninstall
.PHONY
:
install uninstall
install
:
install
:
@
echo
"Installing Ivette (OPAM)"
@
echo
"Installing Ivette…"
mkdir
-p
$(
PREFIX
)
/bin
@
mkdir
-p
$(
PREFIX
)
/bin
install
ivette/ivette-opam.sh
$(
PREFIX
)
/bin/ivette
@
install
ivette/ivette-opam.sh
$(
PREFIX
)
/bin/ivette
mkdir
-p
$(
PREFIX
)
/lib/frama-c
@
mkdir
-p
$(
PREFIX
)
/lib/frama-c
tar
zcf
$(
PREFIX
)
/lib/frama-c/ivette.tgz ivette
@
tar
zcf
$(
PREFIX
)
/lib/frama-c/ivette.tgz ivette
@
echo
"Done"
uninstall
:
uninstall
:
@
echo
"Removing Ivette"
@
echo
"Removing Ivette
…
"
@
rm
-f
$(
PREFIX
)
/bin/ivette
@
rm
-f
$(
PREFIX
)
/bin/ivette
@
rm
-f
$(
PREFIX
)
/lib/frama-c/ivette.tgz
@
rm
-f
$(
PREFIX
)
/lib/frama-c/ivette.tgz
@
rm
-fr
$(
PREFIX
)
/lib/ivette
# linux
@
rm
-fr
$(
PREFIX
)
/lib/ivette
# linux
@
rm
-fr
/Applications/Ivette.app
# macOS
@
rm
-fr
/Applications/Ivette.app
# macOS
@
echo
"Done"
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