From 46040a513bc32b0f4e9993fbd7f0fc4bc4e1c42c Mon Sep 17 00:00:00 2001 From: Ed Warnicke Date: Tue, 22 Mar 2016 12:52:22 -0500 Subject: Fix distclean to correctly handle Centos Change-Id: I3f930306e9f384011687d2ce88052639df0d966b Signed-off-by: Ed Warnicke --- build-root/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'build-root/Makefile') diff --git a/build-root/Makefile b/build-root/Makefile index 34d6c9dd..a7d89434 100644 --- a/build-root/Makefile +++ b/build-root/Makefile @@ -1175,8 +1175,9 @@ distclean: rm -rf $(MU_BUILD_ROOT_DIR)/$(IMAGES_PREFIX)* rm -rf $(TOOL_INSTALL_DIR) rm -rf $(MU_BUILD_ROOT_DIR)/*.deb + rm -rf $(MU_BUILD_ROOT_DIR)/*.rpm rm -rf $(MU_BUILD_ROOT_DIR)/*.changes - (cd $(MU_BUILD_ROOT_DIR)/deb/;debian/rules clean) + if [ -e /usr/bin/dh ];then (cd $(MU_BUILD_ROOT_DIR)/deb/;debian/rules clean); fi rm -f $(MU_BUILD_ROOT_DIR)/deb/debian/*.install rm -f $(MU_BUILD_ROOT_DIR)/deb/debian/*.dkms rm -f $(MU_BUILD_ROOT_DIR)/deb/debian/changelog -- cgit 1.2.3-korg