aboutsummaryrefslogtreecommitdiffstats
path: root/build-root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'build-root/Makefile')
-rw-r--r--build-root/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/build-root/Makefile b/build-root/Makefile
index 34d6c9dd28e..a7d89434f08 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