From bcfac3d31b96eb783667eb6683f953ae808c5ea9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Fri, 24 Jul 2015 17:43:30 +0200 Subject: Adding targets in root makefile Part of the initialize target should be also initialization of database. Target distclean should clean project to state as it is in git repository. --- Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 902f0c2..7dca36a 100644 --- a/Makefile +++ b/Makefile @@ -45,7 +45,7 @@ dot_config: allconfig ../scripts/allconfig/allconfig Kconfig .config ../$(CONF_DOT_CONFIG) init: initialize -initialize: parse_kconfig picosat +initialize: parse_kconfig picosat initdb scripts/initialize.py initdb: initialize_database @@ -82,8 +82,7 @@ clean_database: psql -d "$(CONF_DB_DATABASE)" -h "$(CONF_DB_HOST)" -p "$(CONF_DB_PORT)" -f scripts/databaseclean.sql rm -f .pgpass -distclean: clean distclean_linux distclean_buildroot - $(RM) .conf.mk +distclean: clean distclean_linux distclean_buildroot clean_measure clean_linux: @$(MAKE) -C linux clean -- cgit v1.2.3