diff options
author | Jonathan Bauer | 2018-02-14 12:47:01 +0100 |
---|---|---|
committer | Jonathan Bauer | 2018-02-14 12:47:01 +0100 |
commit | fc1f0b4f23a8754b9aaaf44ace736c75a0a7b001 (patch) | |
tree | bd6c375bcad2adb54ad2cc6be4feb2ebe8c13a04 /Makefile | |
parent | Makefile: hasher: add to verbose output (diff) | |
download | packer-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-- | Makefile | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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: |