mirror of
https://github.com/thp/pyotherside.git
synced 2025-01-28 23:52:55 +08:00
19 lines
415 B
INI
19 lines
415 B
INI
TEMPLATE = subdirs
|
|
SUBDIRS += src tests
|
|
|
|
tests.depends = src
|
|
|
|
include(pyotherside.pri)
|
|
|
|
tar.target = $${PROJECTNAME}-$${VERSION}.tar
|
|
tar.commands = git archive --format=tar --prefix=$${PROJECTNAME}-$${VERSION}/ --output=$@ $${VERSION}
|
|
|
|
targz.target = $${PROJECTNAME}-$${VERSION}.tar.gz
|
|
targz.depends = tar
|
|
targz.commands = gzip $^
|
|
|
|
sdist.target = sdist
|
|
sdist.depends = targz
|
|
|
|
QMAKE_EXTRA_TARGETS += tar targz sdist
|