Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
why3
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
121
Issues
121
List
Boards
Labels
Service Desk
Milestones
Merge Requests
15
Merge Requests
15
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Why3
why3
Commits
acc138fc
Commit
acc138fc
authored
May 06, 2014
by
Jacques-Pascal Deplaix
Committed by
Jean-Christophe Filliâtre
May 13, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Compile the emacs mode if emacs is available
parent
cc6d1e85
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
0 deletions
+22
-0
.gitignore
.gitignore
+1
-0
Makefile.in
Makefile.in
+17
-0
configure.in
configure.in
+4
-0
No files found.
.gitignore
View file @
acc138fc
...
...
@@ -16,6 +16,7 @@ why3.conf
*.vo
*.vd
*.glob
*.elc
\#*\#
# /
...
...
Makefile.in
View file @
acc138fc
...
...
@@ -59,6 +59,7 @@ endif
RUBBER
=
@RUBBER@
HEVEA
=
@HEVEA@
HACHA
=
@HACHA@
EMACS
=
@EMACS@
#PSVIEWER = @PSVIEWER@
#PDFVIEWER = @PDFVIEWER@
...
...
@@ -82,6 +83,8 @@ EXTLIBS = str unix nums dynlink
EXTCMA
=
$(
addsuffix
.cma,
$(EXTLIBS)
)
$(
addsuffix
.cmo,
$(EXTOBJS)
)
EXTCMXA
=
$(
addsuffix
.cmxa,
$(EXTLIBS)
)
$(
addsuffix
.cmx,
$(EXTOBJS)
)
TARGET_EMACS
=
share/emacs/why3.elc
###############
# main target
###############
...
...
@@ -232,7 +235,11 @@ clean_old_install:
rm
-rf
$(OCAMLINSTALLLIB)
/why3
ifeq
($(EMACS),no)
install_no_local
::
clean_old_install
else
install_no_local
::
clean_old_install $(TARGET_EMACS)
endif
mkdir
-p
$(BINDIR)
mkdir
-p
$(DATADIR)
/why3
mkdir
-p
$(DATADIR)
/why3/images
...
...
@@ -256,6 +263,9 @@ install_no_local:: clean_old_install
cp
-f
share/why3session.dtd
$(DATADIR)
/why3
cp
-rf
share/javascript
$(DATADIR)
/why3/javascript
cp
-f
share/emacs/why3.el
$(DATADIR)
/why3/emacs/why3.el
ifneq
($(EMACS),no)
cp
-f
share/emacs/why3.elc
$(DATADIR)
/why3/emacs/why3.elc
endif
cp
-f
share/vim/why3.vim
$(DATADIR)
/why3/vim/why3.vim
cp
-f
share/lang/why3.lang
$(DATADIR)
/why3/lang/why3.lang
...
...
@@ -275,6 +285,13 @@ endif
install-all
:
install install-lib
##################
# Why3 emacs mode
##################
%.elc
:
%.el
$(EMACS)
--batch
--no-init-file
-f
batch-byte-compile
$<
##################
# Why3 plugins
##################
...
...
configure.in
View file @
acc138fc
...
...
@@ -340,6 +340,9 @@ if test "$enable_html_doc" = yes ; then
fi
fi
# checking for emacs
AC_CHECK_PROG(EMACS,emacs,emacs,no)
# checking for Zarith
if test "$enable_zarith" = yes; then
if test "$USEOCAMLFIND" = yes; then
...
...
@@ -739,6 +742,7 @@ AC_SUBST(enable_html_doc)
AC_SUBST(RUBBER)
AC_SUBST(HEVEA)
AC_SUBST(HACHA)
AC_SUBST(EMACS)
AC_SUBST(enable_frama_c)
...
...
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