diff options
author | vboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f> | 2020-01-22 15:27:04 +0000 |
---|---|---|
committer | vboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f> | 2020-01-22 15:27:04 +0000 |
commit | 32c4bc5ac2062d0308c0853cab9290cee0167acf (patch) | |
tree | d55827f8c266be01f6ea61ec395c576b4bf24814 /src/VBox/Installer/linux/rpm/rules | |
parent | 460e7f320895cb23737111b7bc51932c97db5760 (diff) | |
download | VirtualBox-svn-32c4bc5ac2062d0308c0853cab9290cee0167acf.tar.gz |
Installer/Linux: bugref:9644 phase 1: fix rpm/rules clean
git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@82830 cfe28804-0f27-0410-a406-dd0f0b0b656f
Diffstat (limited to 'src/VBox/Installer/linux/rpm/rules')
-rwxr-xr-x | src/VBox/Installer/linux/rpm/rules | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/VBox/Installer/linux/rpm/rules b/src/VBox/Installer/linux/rpm/rules index a13897702d8..21382ef6e11 100755 --- a/src/VBox/Installer/linux/rpm/rules +++ b/src/VBox/Installer/linux/rpm/rules @@ -53,6 +53,7 @@ current := $(shell pwd) vboxroot := $(shell while ! test -r configure && ! test "$PWD" = "/"; do cd ..; done; pwd) pkgdir := $(if $(PKGDIR),$(PKGDIR),$(shell cd $(vboxroot)/..; pwd)) builddir := $(vboxroot)/rpm/builddir +stagedir := $(vboxroot)/src/VBox/Installer/linux/rpmbuild rpmlib := $(shell if [ `uname -m` = "x86_64" ]; then echo "lib64"; else echo "lib"; fi) chrarch := $(shell if [ `uname -m` = "x86_64" ]; then echo "amd64"; else echo "x86"; fi) verfile := $(builddir)/version-generated.mk @@ -197,9 +198,11 @@ rpm/build-stamp: rpm/configure-stamp clean: rm -rf $(archdir) - rm -rf $(builddir) rpm/VirtualBox-* - rm -f rpm/VirtualBox.tar - rm -f rpm/VirtualBox.tar.bz2 + rm -rf $(stagedir) + rm -rf $(builddir) + rm -rf $(vboxroot)/rpm + rm -f rpm/VirtualBox-* + rm -f rpm/VirtualBox.tar rpm/VirtualBox.tar.bz2 rm -f rpm/VirtualBox.spec rm -f rpm/build-stamp rpm/configure-stamp rpm/configure.log rm -f rpm/AutoConfig.kmk rpm/env.sh |