summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJonathan Bauer2018-02-14 12:47:01 +0100
committerJonathan Bauer2018-02-14 12:47:01 +0100
commitfc1f0b4f23a8754b9aaaf44ace736c75a0a7b001 (patch)
treebd6c375bcad2adb54ad2cc6be4feb2ebe8c13a04 /Makefile
parentMakefile: hasher: add to verbose output (diff)
downloadpacker-templates-fc1f0b4f23a8754b9aaaf44ace736c75a0a7b001.tar.gz
packer-templates-fc1f0b4f23a8754b9aaaf44ace736c75a0a7b001.tar.xz
packer-templates-fc1f0b4f23a8754b9aaaf44ace736c75a0a7b001.zip
Makefile: boot targets: fix deletion of temporary build folder
Diffstat (limited to 'Makefile')
-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: