commit 4f190dbb23eb52e9b16679774dc0787cc9f6852a
Author: Jorge L. Florit <jlflorit@gmail.com>
Date:   Wed Jan 8 19:03:12 2014 +0000

    Change Makefile build option to execute pre_build, build_src and post_build functions sequentially

diff --git a/Makefile b/Makefile
index 5add1a4..5322d86 100644
--- a/Makefile
+++ b/Makefile
@@ -266,10 +266,16 @@ config:
 help:
 	-cat README | more
 
-build: checkout sync_config
+prebuild:
 	$(call pre_build)
-	$(if $(TARGET),$(call build_src))
+
+postbuild:
 	$(call post_build)
 
+srcbuild:
+	$(if $(TARGET),$(call build_src))
+
+build: checkout sync_config prebuild srcbuild postbuild
+
 is_up_to_date:
 	cd $(BUILD_DIR)/qmp && test "$$($(call get_git_local_revision,$(QMP_GIT_BRANCH)))" == "$$($(call get_git_remote_revision,$(QMP_GIT_BRANCH)))"
