]> git.proxmox.com Git - smartmontools.git/blobdiff - Makefile
remove temp dir before copying
[smartmontools.git] / Makefile
index e1b32cc1c3dd45162054a1f2017b5fa68a289742..bcae4d2fa797e1b569b90c02dca3f3bebf04a531 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -15,6 +15,7 @@ all: ${DEB}
        echo ${DEB}
 
 deb ${DEB}: ${SRCDIR}
+       rm -rf ${SRCDIR}.tmp
        cp -rpa ${SRCDIR} ${SRCDIR}.tmp
        cd ${SRCDIR}.tmp; patch -p1 < ../patches/update_changelog.patch
        cd ${SRCDIR}.tmp; dpkg-buildpackage -rfakeroot -b -uc -us