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
b77fe29a
Commit
b77fe29a
authored
2 years ago
by
Loïc Correnson
Browse files
Options
Downloads
Patches
Plain Diff
[ivette] conforms to global make install
parent
2b4745a2
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/Makefile.installation
+11
-19
11 additions, 19 deletions
ivette/Makefile.installation
opam
+1
-1
1 addition, 1 deletion
opam
with
12 additions
and
20 deletions
ivette/Makefile.installation
+
11
−
19
View file @
b77fe29a
...
@@ -24,32 +24,24 @@
...
@@ -24,32 +24,24 @@
# --- OPAM Installation
# --- OPAM Installation
# --------------------------------------------------------------------------
# --------------------------------------------------------------------------
ifeq
($(INSTALLDIR),)
ifndef
PREFIX
IVETTE_PREFIX
=
$(
OPAM_SWITCH_PREFIX
)
then
else
IVETTE_PREFIX
=
$(
INSTALLDIR
)
endif
ifeq
($(IVETTE_PREFIX),)
install
::
install
::
@
echo
"Warning: not target for Ivette"
@
echo
"Warning: not target for Ivette"
@
echo
" (no INSTALLDIR, nor OPAM_SWITCH_PREFIX)"
@
echo
" (no INSTALLDIR, nor OPAM_SWITCH_PREFIX)"
else
else
install
::
install
::
@
echo
"Installing Ivette to
${
IVETTE_
PREFIX
}
"
@
echo
"Installing Ivette to
${
PREFIX
}
"
@
mkdir
-p
${
IVETTE_
PREFIX
}
/bin
@
mkdir
-p
${
PREFIX
}
/bin
@
install
ivette/ivette-bootstrap.sh
${
IVETTE_
PREFIX
}
/bin/ivette
@
install
ivette/ivette-bootstrap.sh
${
PREFIX
}
/bin/ivette
@
mkdir
-p
${
IVETTE_
PREFIX
}
/lib/frama-c
@
mkdir
-p
${
PREFIX
}
/lib/frama-c
@
tar
zcf
${
IVETTE_
PREFIX
}
/lib/frama-c/ivette.tgz ivette
@
tar
zcf
${
PREFIX
}
/lib/frama-c/ivette.tgz ivette
uninstall
::
uninstall
::
@
echo
"Removing Ivette"
@
echo
"Removing Ivette"
@
rm
-f
${
IVETTE_
PREFIX
}
/bin/ivette
@
rm
-f
${
PREFIX
}
/bin/ivette
@
rm
-f
${
IVETTE_
PREFIX
}
/lib/frama-c/ivette.tgz
@
rm
-f
${
PREFIX
}
/lib/frama-c/ivette.tgz
@
rm
-fr
${
IVETTE_
PREFIX
}
/lib/frama-c/Ivette.app
@
rm
-fr
${
PREFIX
}
/lib/frama-c/Ivette.app
@
rm
-fr
${
IVETTE_
PREFIX
}
/lib/frama-c/ivette
@
rm
-fr
${
PREFIX
}
/lib/frama-c/ivette
endif
endif
This diff is collapsed.
Click to expand it.
opam
+
1
−
1
View file @
b77fe29a
...
@@ -97,7 +97,7 @@ install: [
...
@@ -97,7 +97,7 @@ install: [
]
]
remove: [
remove: [
[make "PREFIX=%{prefix}%" "-f" "ivette/
m
akefile.
opam
" "uninstall"]
[make "PREFIX=%{prefix}%" "-f" "ivette/
M
akefile.
installation
" "uninstall"]
]
]
run-test: [
run-test: [
...
...
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