mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-21 13:53:37 -07:00
Add make dist target
This commit is contained in:
parent
3529c5c7a0
commit
921512e51d
3 changed files with 21 additions and 12 deletions
|
@ -2,3 +2,12 @@ TEMPLATE = subdirs
|
|||
|
||||
SUBDIRS += src
|
||||
|
||||
include(version.pri)
|
||||
|
||||
# Dist
|
||||
dist.commands += rm -fR ../$${PROJECT_NAME}-$${PROJECT_VERSION}/ &&
|
||||
dist.commands += svn export . ../$${PROJECT_NAME}-$${PROJECT_VERSION} &&
|
||||
dist.commands += tar zcpvf ../$${PROJECT_NAME}-$${PROJECT_VERSION}.tar.gz ../$${PROJECT_NAME}-$${PROJECT_VERSION} &&
|
||||
dist.commands += rm -fR ../$${PROJECT_NAME}-$${PROJECT_VERSION}
|
||||
|
||||
QMAKE_EXTRA_TARGETS += dist
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue