aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMohammad Akhlaghi <mohammad@akhlaghi.org>2020-06-30 17:00:25 +0100
committerMohammad Akhlaghi <mohammad@akhlaghi.org>2020-06-30 17:00:25 +0100
commitdb31bce606eb82440019cca434a78ba4097a1af3 (patch)
tree441b15fd56a12bb0378951f75f103ee1551ac08e
parentf32b509313a9427347db0275ed09cb1b70bb3d89 (diff)
Proper deletion of util-linux source after successfully building it
After recently adding util-linux to Maneage build-tree, we had forgot to delete the unpacked and built source directory after it was installed! This has been corrected with this commit.
-rw-r--r--reproduce/software/make/high-level.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/reproduce/software/make/high-level.mk b/reproduce/software/make/high-level.mk
index ac84c87..cf104e6 100644
--- a/reproduce/software/make/high-level.mk
+++ b/reproduce/software/make/high-level.mk
@@ -1296,7 +1296,9 @@ $(ibidir)/util-linux-$(util-linux-version):
ln -sf $(idir)/util-linux/sbin/* $(idir)/bin
fi
- # Write the main target.
+ # Clean up and write the main target.
+ cd ../
+ rm -rf util-linux-$(util-linux-version)
echo "util-Linux $(util-linux-version)" > $@
$(ibidir)/xlsxio-$(xlsxio-version): \