Juan Hernandez has uploaded a new change for review.

Change subject: packaging: Clean files generated from templates
......................................................................

packaging: Clean files generated from templates

Remove files that have been generated from templates when running the
clean target.

Change-Id: I14825c95da9091b06967ed81393a1f3eee6eb820
Signed-off-by: Juan Hernandez <[email protected]>
---
M Makefile
1 file changed, 4 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/20/11020/1

diff --git a/Makefile b/Makefile
index 6dafad1..7d9bd0f 100644
--- a/Makefile
+++ b/Makefile
@@ -163,10 +163,14 @@
        touch $(BUILD_FILE)
 
 clean:
+       # Clean maven generated stuff:
        $(MVN) clean $(EXTRA_BUILD_FLAGS)
        rm -rf $(OUTPUT_RPMBUILD) $(SPEC_FILE) $(OUTPUT_DIR) $(BUILD_FILE)
        [ "$(MAVEN_OUTPUT_DIR_DEFAULT)" = "$(MAVEN_OUTPUT_DIR)" ] && rm -fr 
"$(MAVEN_OUTPUT_DIR)"
 
+       # Clean files generated from templates:
+       rm -rf $(GENERATED)
+
 test:
        $(MVN) install $(BUILD_FLAGS) $(EXTRA_BUILD_FLAGS)
 


--
To view, visit http://gerrit.ovirt.org/11020
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I14825c95da9091b06967ed81393a1f3eee6eb820
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to