From 906652007678f6fcdd55c65884c7e27fad3a9464 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Tue, 2 Aug 2011 19:46:54 +0300 Subject: [PATCH] Fix "make dist" command to make sure the .git folder is removed --- qbittorrent.pro | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qbittorrent.pro b/qbittorrent.pro index 56c85575e..9d0876bcf 100644 --- a/qbittorrent.pro +++ b/qbittorrent.pro @@ -7,8 +7,8 @@ include(version.pri) # Dist dist.commands += rm -fR ../$${PROJECT_NAME}-$${PROJECT_VERSION}/ && dist.commands += git clone . ../$${PROJECT_NAME}-$${PROJECT_VERSION} && -dist.commands += rm -fR $${PROJECT_NAME}-$${PROJECT_VERSION}/.git && -dist.commands += rm -f $${PROJECT_NAME}-$${PROJECT_VERSION}/.gitignore && +dist.commands += rm -fR ../$${PROJECT_NAME}-$${PROJECT_VERSION}/.git && +dist.commands += rm -f ../$${PROJECT_NAME}-$${PROJECT_VERSION}/.gitignore && dist.commands += tar zcpvf ../$${PROJECT_NAME}-$${PROJECT_VERSION}.tar.gz ../$${PROJECT_NAME}-$${PROJECT_VERSION} && dist.commands += rm -fR ../$${PROJECT_NAME}-$${PROJECT_VERSION}