summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 8ef58f6..0a09188 100644
--- a/Makefile
+++ b/Makefile
@@ -132,9 +132,7 @@ $(BOOTTARGETS):
-var='playbook=build-dracut-initramfs.yml' \
$(BUILD_DIR)/$(ANSIBLE_DIR)/run-playbook-only.json
@mv $(BUILD_DIR)/$(ANSIBLE_DIR)/boot_files $(BUILD_DIR)/build/boot
- ifndef DEBUG
- @rm -rf $(BUILD_DIR)/build/tmp
- endif
+ $(if $(DEBUG),,@rm -rf $(BUILD_DIR)/build/tmp)
clean_except_last: