Skip to content
Snippets Groups Projects
Commit 050ba8a2 authored by Marko Mecina's avatar Marko Mecina
Browse files

Makefile cleanup

parent 826dfa8d
No related branches found
No related tags found
No related merge requests found
.PHONY: install-confignator install-testlib set-start-scripts-permissions build-pc build-fw-profile build-crplm build-cria .PHONY: install-confignator ccs-storage codeblockreusefeature install-testlib
all: install build-pc all: install build-pc
install: install-confignator install-testlib set-start-scripts-permissions install: install-confignator ccs-storage codeblockreusefeature install-testlib
databases: ccs-storage codeblockreusefeature databases: ccs-storage codeblockreusefeature
build-pc: build-fw-profile build-crplm build-cria build-crfee # build-pc: build-fw-profile build-crplm build-cria build-crfee
install-confignator: install-confignator:
@echo "+-----------------------------------------------+" @echo "+---------------------------------------+"
@echo "| installing confignator Python package |" @echo "| installing confignator Python package |"
@echo "+-----------------------------------------------+" @echo "+---------------------------------------+"
$(MAKE) reinstall -C $(CURDIR)/Tst/confignator $(MAKE) reinstall -C $(CURDIR)/Tst/confignator
@echo "+-----------------------------------------------+" @echo "+--------------------------------------+"
@echo "| installed confignator Python package |" @echo "| installed confignator Python package |"
@echo "+-----------------------------------------------+" @echo "+--------------------------------------+"
@echo @echo
install-testlib: install-testlib:
@echo "+-----------------------------------------------+" @echo "+-----------------------------------+"
@echo "| installing testlib Python package |" @echo "| installing testlib Python package |"
@echo "+-----------------------------------------------+" @echo "+-----------------------------------+"
$(MAKE) all -C $(CURDIR)/Tst/testing_library $(MAKE) all -C $(CURDIR)/Tst/testing_library
@echo "+-----------------------------------------------+" @echo "+----------------------------------+"
@echo "| installed testlib Python package |" @echo "| installed testlib Python package |"
@echo "+-----------------------------------------------+" @echo "+----------------------------------+"
@echo @echo
install-database-dev-env: install-database-dev-env:
@echo "+-----------------------------------------------+" @echo "+---------------------------------------------------+"
@echo "| installing Python packages for the database |" @echo "| installing Python dev packages for the database |"
@echo "+-----------------------------------------------+" @echo "+---------------------------------------------------+"
$(MAKE) install-devenv -C $(CURDIR)/Ccs/database $(MAKE) install-devenv -C $(CURDIR)/Ccs/database
@echo "+-----------------------------------------------+" @echo "+---------------------------------------------------+"
@echo "| installed Python packages for the database |" @echo "| installed Python dev packages for the database |"
@echo "+-----------------------------------------------+" @echo "+---------------------------------------------------+"
@echo @echo
install-python-env: install-python-env:
python -m pip install numpy scipy matplotlib cairocffi mysqlclient sqlalchemy wheel sphinx sphinx_rtd_theme astropy crcmod @echo "+-----------------------------+"
@echo "| installing Python modules |"
@echo "+-----------------------------+"
python -m pip install --user --upgrade numpy scipy matplotlib cairocffi mysqlclient sqlalchemy wheel sphinx sphinx_rtd_theme astropy crcmod psutil
@echo "+-----------------------------+"
@echo "| installed Python modules |"
@echo "+-----------------------------+"
@echo
ccs-storage: ccs-storage:
@echo "+----------------------------------------+" @echo "+----------------------------------------+"
@echo "| setting up the storage database schema |" @echo "| setting up the storage database schema |"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment