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
e6cd8d39
Commit
e6cd8d39
authored
2 years ago
by
Allan Blanchard
Browse files
Options
Downloads
Patches
Plain Diff
[man] restore man installation
parent
e3bf18b0
No related branches found
No related tags found
No related merge requests found
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
dune
+1
-1
1 addition, 1 deletion
dune
man/dune
+40
-0
40 additions, 0 deletions
man/dune
opam/opam
+1
-1
1 addition, 1 deletion
opam/opam
share/Makefile.installation
+15
-4
15 additions, 4 deletions
share/Makefile.installation
src/plugins/e-acsl/man/dune
+27
-0
27 additions, 0 deletions
src/plugins/e-acsl/man/dune
with
84 additions
and
6 deletions
dune
+
1
−
1
View file @
e6cd8d39
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(alias (name default) (deps (alias install)))
(alias (name default) (deps (alias install)))
(dirs
src tools tests
headers share
bin
)
(dirs
bin
headers
man
share
src tools tests
)
(executable
(executable
(name configurator)
(name configurator)
...
...
This diff is collapsed.
Click to expand it.
man/dune
0 → 100644
+
40
−
0
View file @
e6cd8d39
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; ;;
;; This file is part of Frama-C. ;;
;; ;;
;; Copyright (C) 2007-2022 ;;
;; CEA (Commissariat à l'énergie atomique et aux énergies ;;
;; alternatives) ;;
;; ;;
;; you can redistribute it and/or modify it under the terms of the GNU ;;
;; Lesser General Public License as published by the Free Software ;;
;; Foundation, version 2.1. ;;
;; ;;
;; It is distributed in the hope that it will be useful, ;;
;; but WITHOUT ANY WARRANTY; without even the implied warranty of ;;
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;;
;; GNU Lesser General Public License for more details. ;;
;; ;;
;; See the GNU Lesser General Public License version 2.1 ;;
;; for more details (enclosed in the file licenses/LGPLv2.1). ;;
;; ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(rule
(target frama-c.1.generated)
(deps frama-c.1.md)
(enabled_if %{bin-available:pandoc})
(action (run pandoc -s -t man %{deps} -o %{target}))
)
(rule
(alias check-man)
(deps frama-c.1 frama-c.1.generated)
(action (diff frama-c.1 frama-c.1.generated))
)
(install
(package frama-c)
(section man)
(files frama-c.1)
)
This diff is collapsed.
Click to expand it.
opam/opam
+
1
−
1
View file @
e6cd8d39
...
@@ -92,7 +92,7 @@ build: [
...
@@ -92,7 +92,7 @@ build: [
]
]
install: [
install: [
[make "INSTALLDIR=%{prefix}%" "install"]
[make "INSTALLDIR=%{prefix}%"
"MANDIR=%{mandir}%"
"install"]
[make "PREFIX=%{prefix}%" "-C" "doc" "install"] {with-doc}
[make "PREFIX=%{prefix}%" "-C" "doc" "install"] {with-doc}
]
]
...
...
This diff is collapsed.
Click to expand it.
share/Makefile.installation
+
15
−
4
View file @
e6cd8d39
...
@@ -31,6 +31,17 @@
...
@@ -31,6 +31,17 @@
# Default: Dune installs in the Opam directory
# Default: Dune installs in the Opam directory
INSTALLDIR
?=
INSTALLDIR
?=
# Set this variable to request a specific man installation directory
# Default: the manuals are installed in the installation directory transmitted
# to Dune (so either in Opam or in INSTALLDIR)
MANDIR
?=
ifeq
(${MANDIR},)
MANDIR_OPT
=
else
MANDIR_OPT
=
--mandir
${
MANDIR
}
endif
################################
################################
## Install and uninstall
## Install and uninstall
...
@@ -38,18 +49,18 @@ INSTALLDIR?=
...
@@ -38,18 +49,18 @@ INSTALLDIR?=
install
:
install
:
ifeq
($(INSTALLDIR),)
ifeq
($(INSTALLDIR),)
dune
install
dune
install
${
MANDIR_OPT
}
else
else
@
echo
"Installing to prefix:
${
INSTALLDIR
}
"
@
echo
"Installing to prefix:
${
INSTALLDIR
}
"
dune
install
--prefix
${
INSTALLDIR
}
dune
install
--prefix
${
INSTALLDIR
}
${
MANDIR_OPT
}
@
echo
'DO NOT FORGET TO EXPAND YOUR OCAMLPATH VARIABLE:'
@
echo
'DO NOT FORGET TO EXPAND YOUR OCAMLPATH VARIABLE:'
@
echo
' export OCAMLPATH="
${
INSTALLDIR
}
/lib:$$OCAMLPATH"'
@
echo
' export OCAMLPATH="
${
INSTALLDIR
}
/lib:$$OCAMLPATH"'
endif
endif
uninstall
:
uninstall
:
ifeq
($(INSTALLDIR),)
ifeq
($(INSTALLDIR),)
dune uninstall
dune uninstall
${
MANDIR_OPT
}
else
else
@
echo
"Uninstalling from prefix:
${
INSTALLDIR
}
"
@
echo
"Uninstalling from prefix:
${
INSTALLDIR
}
"
dune uninstall
--prefix
${
INSTALLDIR
}
dune uninstall
--prefix
${
INSTALLDIR
}
${
MANDIR_OPT
}
endif
endif
This diff is collapsed.
Click to expand it.
src/plugins/e-acsl/man/dune
0 → 100644
+
27
−
0
View file @
e6cd8d39
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; ;;
;; This file is part of the Frama-C's E-ACSL plug-in. ;;
;; ;;
;; Copyright (C) 2012-2022 ;;
;; CEA (Commissariat à l'énergie atomique et aux énergies ;;
;; alternatives) ;;
;; ;;
;; you can redistribute it and/or modify it under the terms of the GNU ;;
;; Lesser General Public License as published by the Free Software ;;
;; Foundation, version 2.1. ;;
;; ;;
;; It is distributed in the hope that it will be useful, ;;
;; but WITHOUT ANY WARRANTY; without even the implied warranty of ;;
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;;
;; GNU Lesser General Public License for more details. ;;
;; ;;
;; See the GNU Lesser General Public License version 2.1 ;;
;; for more details (enclosed in the file licenses/LGPLv2.1). ;;
;; ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(install
(package frama-c-e-acsl)
(section man)
(files e-acsl-gcc.sh.1)
)
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