Merge pull request #11660 from sledgehammer999/fix_smart_delete
[qBittorrent.git] / qbittorrent.pro
bloba7f2a137dfb02cb01b6eec84aa749d45d265b432
1 TEMPLATE = subdirs
3 SUBDIRS += src
5 include(version.pri)
7 # Make target to create release tarball. Use 'make tarball'
8 tarball.commands += rm -fR ../$${PROJECT_NAME}-$${PROJECT_VERSION}/ &&
9 tarball.commands += git clone . ../$${PROJECT_NAME}-$${PROJECT_VERSION} &&
10 tarball.commands += rm -fR ../$${PROJECT_NAME}-$${PROJECT_VERSION}/.git &&
11 tarball.commands += rm -f ../$${PROJECT_NAME}-$${PROJECT_VERSION}/.gitignore &&
12 tarball.commands += cd .. &&
13 tarball.commands += tar czf $${PROJECT_NAME}-$${PROJECT_VERSION}.tar.gz $${PROJECT_NAME}-$${PROJECT_VERSION} &&
14 tarball.commands += tar cf $${PROJECT_NAME}-$${PROJECT_VERSION}.tar $${PROJECT_NAME}-$${PROJECT_VERSION} &&
15 tarball.commands += xz -f $${PROJECT_NAME}-$${PROJECT_VERSION}.tar &&
16 tarball.commands += rm -fR $${PROJECT_NAME}-$${PROJECT_VERSION}
18 QMAKE_EXTRA_TARGETS += tarball
20 # For Qt Creator beautifier
21 DISTFILES += \
22 uncrustify.cfg