Skip to content

Commit

Permalink
Update Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
vmordan committed Oct 6, 2023
1 parent 82515f8 commit e7d0be6
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ wv_script="visualize_witnesses.py"
launch_script="launch.py"
auto_script="auto_check.py"
bridge_script="bridge.py"
runner_script="runner.py"

# Directories
root_dir=$(shell pwd)
Expand Down Expand Up @@ -197,14 +198,15 @@ install-scripts: check-deploy-dir
cp -r ${root_dir}/scripts/ . ; \
rm -f scripts/${bv_script} ; \
rm -f scripts/${wv_script} ; \
rm -f scripts/${runner_script} ; \
cp -r ${root_dir}/${plugin_dir} . ; \
mkdir -p buildbot

install-witness-visualizer: check-deploy-dir build-cvv
@mkdir -p ${DEPLOY_DIR}/${install_dir}
@cp ${tools_config_file} ${DEPLOY_DIR}/${install_dir}
@rm -rf ${DEPLOY_DIR}/${cvv_dir}
@cp -r ${cvv_dir}/web ${DEPLOY_DIR}/${cvv_dir}
@cp -r ${cvv_dir} ${DEPLOY_DIR}/${cvv_dir}
@rm -rf ${DEPLOY_DIR}/${cvv_dir}/web/static/codemirror
@rm -rf ${DEPLOY_DIR}/${cvv_dir}/web/static/calendar
@rm -rf ${DEPLOY_DIR}/${cvv_dir}/web/static/jstree
Expand All @@ -213,7 +215,8 @@ install-witness-visualizer: check-deploy-dir build-cvv
cp -r ${root_dir}/scripts/ . ; \
rm -f scripts/${launch_script} ; \
rm -f scripts/${auto_script} ; \
rm -f scripts/${bv_script}
rm -f scripts/${bv_script} ; \
rm -f scripts/${runner_script}
@echo "*** Witness Visualizer has been successfully installed into the directory ${DEPLOY_DIR} ***"

install-mea: check-deploy-dir
Expand All @@ -229,6 +232,7 @@ install-mea: check-deploy-dir
rm -rf scripts/models/ ; \
rm -rf scripts/klever_bridge ; \
rm -f scripts/${wv_script} ; \
rm -f scripts/${runner_script} ; \
rm -f scripts/aux/opts.py
@cd ${DEPLOY_DIR}/scripts/components; \
rm main_generator.py exporter.py builder.py benchmark_launcher.py qualifier.py launcher.py preparator.py coverage_processor.py full_launcher.py
Expand All @@ -241,6 +245,7 @@ install-benchmark-visualizer: install-witness-visualizer
install-klever-bridge: install-witness-visualizer
@cp -r ${cvv_dir}/utils/ ${DEPLOY_DIR}/${cvv_dir}/
@cp -f ${root_dir}/scripts/${bridge_script} ${DEPLOY_DIR}/scripts/
@cp -f ${root_dir}/scripts/${runner_script} ${DEPLOY_DIR}/scripts/
@echo "*** Klever bridge has been successfully installed into the directory ${DEPLOY_DIR} ***"

install: check-deploy-dir install-cvv install-benchexec install-cil install-cpa install-scripts install-cpa
Expand Down

0 comments on commit e7d0be6

Please sign in to comment.