Skip to content
Snippets Groups Projects
Commit 51a4c4e0 authored by Allan Blanchard's avatar Allan Blanchard
Browse files

Merge branch 'fix/andre/frama-c-config-no-aliases' into 'master'

[fc-config] no longer use frama-c-config aliases

See merge request frama-c/frama-c!2881
parents bd860f19 86deea7f
No related branches found
No related tags found
No related merge requests found
......@@ -88,7 +88,7 @@ DIR="$( cd "$( dirname "$0" )" && pwd )"
# All scripts called by frama-c-script may rely on FRAMAC_BIN pointing to the
# directory containing frama-c, frama-c-config and frama-c-script.
export FRAMAC_BIN="$DIR"
FRAMAC_SHARE=$("${DIR}/frama-c-config" -share)
FRAMAC_SHARE=$("${DIR}/frama-c-config" -print-share-path)
if [ -z ${FRAMAC_SESSION+x} ]; then
FRAMAC_SESSION="./.frama-c";
fi
......
......@@ -257,7 +257,7 @@ content of the file to \texttt{\~{}/.bash\_completion}
\item You can \texttt{source} the file, e.g. from your \texttt{.bashrc} with
the following command:
\begin{verbatim}
source $(frama-c-config -share)/autocomplete_frama-c || true
source $(frama-c-config -print-share-path)/autocomplete_frama-c || true
\end{verbatim}
\end{itemize}
......
......@@ -7,7 +7,7 @@
# an optional include, unnecessary if frama-c is in the PATH.
FRAMAC ?= frama-c # FRAMAC is defined in path.mk when it is included, but the
# user can override it in the command-line.
include $(shell $(FRAMAC)-config -scripts)/prologue.mk
include $(shell $(FRAMAC)-config -print-share-path)/analysis-scripts/prologue.mk
###############################################################################
# Edit below as needed. Suggested flags are optional.
......@@ -39,5 +39,5 @@ main.parse: \
main.c \
### Epilogue. Do not modify this block. #######################################
include $(shell $(FRAMAC)-config -scripts)/epilogue.mk
include $(shell $(FRAMAC)-config -print-share-path)/analysis-scripts/epilogue.mk
###############################################################################
......@@ -7,7 +7,7 @@
# an optional include, unnecessary if frama-c is in the PATH.
FRAMAC ?= frama-c # FRAMAC is defined in path.mk when it is included, but the
# user can override it in the command-line.
include $(shell $(FRAMAC)-config -scripts)/prologue.mk
include $(shell $(FRAMAC)-config -print-share-path)/analysis-scripts/prologue.mk
###############################################################################
# Edit below as needed. Suggested flags are optional.
......@@ -46,5 +46,5 @@ fc_script_main.parse: \
../main3.c \
### Epilogue. Do not modify this block. #######################################
include $(shell $(FRAMAC)-config -scripts)/epilogue.mk
include $(shell $(FRAMAC)-config -print-share-path)/analysis-scripts/epilogue.mk
###############################################################################
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment