Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Why3
why3
Commits
b706aaf0
Commit
b706aaf0
authored
Jul 02, 2011
by
Andrei Paskevich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
store plugins directly in $libdir
instead of $libdir/plugins. We have no other binary components.
parent
991545d1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
Makefile.in
Makefile.in
+3
-3
src/config.sh.in
src/config.sh.in
+1
-1
src/driver/whyconf.ml
src/driver/whyconf.ml
+1
-1
No files found.
Makefile.in
View file @
b706aaf0
...
...
@@ -207,7 +207,7 @@ clean::
install_no_local
::
mkdir
-p
$(BINDIR)
mkdir
-p
$(LIBDIR)
/why3
/plugins
mkdir
-p
$(LIBDIR)
/why3
mkdir
-p
$(DATADIR)
/why3/images
mkdir
-p
$(DATADIR)
/why3/emacs
mkdir
-p
$(DATADIR)
/why3/lang
...
...
@@ -691,7 +691,7 @@ plugins/whytptp.cmo: $(TPTPCMO)
$(OCAMLC)
$(BFLAGS)
-pack
-o
$@
$^
install_no_local
::
cp
-f
plugins/whytptp.cm
*
$(LIBDIR)
/why3/
plugins
cp
-f
plugins/whytptp.cm
*
$(LIBDIR)
/why3/
# depend and clean targets
...
...
@@ -727,7 +727,7 @@ clean::
rm
-f
bin/why3-cpulimit src/tools/
*
~
install_no_local
::
cp
-f
bin/why3-cpulimit
$(BINDIR)
cp
-f
bin/why3-cpulimit
$(BINDIR)
/why3-cpulimit
#########
# why3doc
...
...
src/config.sh.in
View file @
b706aaf0
...
...
@@ -8,7 +8,7 @@ localdir="None"
plugins
=
"false"
if
[
"@enable_local@"
=
"yes"
]
;
then
libdir
=
"@LOCALDIR@"
libdir
=
"@LOCALDIR@
/plugins
"
datadir
=
"@LOCALDIR@/share"
localdir
=
"Some
\"
@LOCALDIR@
\"
"
fi
...
...
src/driver/whyconf.ml
View file @
b706aaf0
...
...
@@ -109,7 +109,7 @@ let add_plugin m p =
then
m
else
{
m
with
plugins
=
List
.
rev
(
p
::
(
List
.
rev
m
.
plugins
))}
let
pluginsdir
m
=
Filename
.
concat
m
.
libdir
"plugins"
let
pluginsdir
m
=
m
.
libdir
let
load_plugins
m
=
let
load
x
=
try
Plugin
.
load
x
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment