X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=build-root%2FMakefile;h=a7d89434f0818925e349b1bc2c3a3297890166d1;hb=46040a513bc32b0f4e9993fbd7f0fc4bc4e1c42c;hp=34d6c9dd28e66a060bd0fd70a5e031c003294c65;hpb=c841eac7730c3e80fc14006481edb5d9221bf45c;p=vpp.git 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