Commit a4e24307 authored by Vincent Danjean's avatar Vincent Danjean
Browse files

Execution of orgvpl without being in PATH

parent 00c24e07
......@@ -6,7 +6,7 @@
# - or executes locally a run, a debug or an evaluate for the given name
THIS_MAKEFILE=$(lastword $(MAKEFILE_LIST))
VPLPP=$(dir $(THIS_MAKEFILE))
VPLPP=$(abspath $(dir $(THIS_MAKEFILE)))
BASES=Basic_System C_Programming
VPLPP_DIRS=$(addprefix $(VPLPP)/, $(BASES))
VPLPP_LOCAL=$(VPLPP)/local.sh
......
......@@ -25,4 +25,10 @@ do
done
export MODE
make -f $(dirname $0)/OrgVpl_Makefile $1
TARGET="$1"
case "$TARGET" in
*.org) # removing extension
TARGET="${TARGET%.org}" ;;
esac
make -f $(dirname $0)/OrgVpl_Makefile "$TARGET"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment