Commit 4df96e8e authored by Andrei Paskevich's avatar Andrei Paskevich

Makefile: do not recreate existing symlinks in share/

parent 92341bd0
......@@ -120,11 +120,6 @@ CLEANDIRS =
CLEANLIBS =
GENERATED =
install_local::
ln -s -n -f ../drivers share/drivers
ln -s -n -f ../modules share/modules
ln -s -n -f ../theories share/theories
##############
# Why3 library
##############
......@@ -555,6 +550,17 @@ install_local:: bin/why3 $(addprefix bin/,$(TOOLS_BIN))
bin/%: bin/%.@OCAMLBEST@
ln -sf $(notdir $<) $@
install_local:: share/drivers share/modules share/theories
share/drivers:
ln -snf ../drivers share/drivers
share/modules:
ln -snf ../modules share/modules
share/theories:
ln -snf ../theories share/theories
ifneq "$(MAKECMDGOALS:clean%=clean)" "clean"
include $(TOOLSDEP)
endif
......
Markdown is supported
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