From 16b73460236254180a373d8d5bf1fa221be72f9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Tue, 10 Jan 2017 13:34:07 +0100 Subject: [PATCH] makefile: keep whole 'work' directory Don't remove most of it - it's useful for diagnostics - for example 'logs' subdir. --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index b98f01e..5254dea 100644 --- a/Makefile +++ b/Makefile @@ -58,10 +58,10 @@ iso-installer: iso-prepare mkdir -p work pushd work && pungi --name=Qubes $(PUNGI_OPTS) -c $(INSTALLER_KICKSTART) && popd # Move result files to known-named directories - mkdir -p build/ISO/qubes-x86_64/iso build/work + mkdir -p build/ISO/qubes-x86_64/iso mv work/$(ISO_VERSION)/x86_64/iso/*-DVD*.iso build/ISO/qubes-x86_64/iso/ - rm -rf build/work/$(ISO_VERSION) - mv work/$(ISO_VERSION)/x86_64/os build/work/$(ISO_VERSION) + rm -rf build/work + mv work build/work chown --reference=Makefile -R build yum rm -rf work