[CORD-1900]
Better implementation of podconfig file presence check

Change-Id: I90dc44c1d659896a7755f5d73652393b3032e6a5
(cherry picked from commit d3a527ca8d94b23ebc9037fbf312a88dbcd9e279)
diff --git a/Makefile b/Makefile
index 464f9d1..f20bd84 100644
--- a/Makefile
+++ b/Makefile
@@ -85,12 +85,13 @@
 	@echo "Please specify a target (config, build, teardown, ...)"
 
 # Config file generation
-config: $(CONFIG_FILES) $(PODCONFIG_PATH)
+config: $(CONFIG_FILES)
 
 $(CONFIG_FILES):
+	test -e "$(PODCONFIG_PATH)" || { echo "PODCONFIG file $(PODCONFIG_PATH) doesn't exist!" ; exit 1; }
 	ansible-playbook -i 'localhost,' --extra-vars="cord_podconfig='$(PODCONFIG_PATH)' genconfig_dir='$(GENCONFIG_D)' scenarios_dir='$(SCENARIOS_D)'" $(BUILD)/ansible/genconfig.yml $(LOGCMD)
 
-printconfig: config
+printconfig:
 	@echo "Scenario: $(SCENARIO)"
 	@echo "Profile: $(PROFILE)"
 
@@ -122,7 +123,7 @@
 
 clean-profile:
 	rm -rf $(CONFIG_CORD_PROFILE_DIR)
-	rm -f $(M)/cord-config $(M)/copy-config
+	rm -f $(M)/cord-config $(M)/copy-config $(M)/onboard-profile $(M)/local-onboard-profile $(M)/onboard-openstack $(M)/refresh-fabric
 
 clean-all: virsh-domain-destroy vagrant-destroy clean-profile clean-genconfig
 	rm -f $(ALL_MILESTONES)