aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2015-07-24 17:43:30 +0200
committerKarel Kočí <cynerd@email.cz>2015-07-24 17:43:30 +0200
commitbcfac3d31b96eb783667eb6683f953ae808c5ea9 (patch)
tree2a56838799c19d791a55a4689e6e595f649ba72a
parentf69c7b92cf776f50e5023db328d3daafbde4db68 (diff)
downloadlinux-conf-perf-bcfac3d31b96eb783667eb6683f953ae808c5ea9.tar.gz
linux-conf-perf-bcfac3d31b96eb783667eb6683f953ae808c5ea9.tar.bz2
linux-conf-perf-bcfac3d31b96eb783667eb6683f953ae808c5ea9.zip
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.
-rw-r--r--Makefile5
1 files 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