3 QMAKEVERSION = $$[QMAKE_VERSION]
4 ISQT4 = $$find(QMAKEVERSION, ^[2-9])
6 error("Use the qmake include with Qt4.4 or greater, on Debian that is
15 QMAKE_DISTCLEAN += src/bin/*.a
16 QMAKE_EXTRA_TARGETS += tarball icon changelog release
18 changelog.target = ChangeLog
19 changelog.commands = \
20 svn up && svn2cl --group-by-day --reparagraph
21 changelog.CONFIG = phony
23 icon.target = data/$${TARGET}.png
24 icon.commands = convert data/$${TARGET}.svg data/$${TARGET}.png
25 icon.depends = data/$${TARGET}.svg
27 release.depends = tarball
29 tarball.target = $${TARGET}-$${VERSION}.tar.gz
31 $(DEL_FILE) -r $${TARGET}-$${VERSION} ; \
32 $(MKDIR) $${TARGET}-$${VERSION} ; \
33 $(COPY_DIR) * $${TARGET}-$${VERSION}/ ; \
34 $(DEL_FILE) $${TARGET}-$${VERSION}/*.pro.user \
35 $${TARGET}-$${VERSION}/$${TARGET}-$${VERSION}.tar.gz \
36 $(DEL_FILE) -r $${TARGET}-$${VERSION}/$${TARGET}-$${VERSION} \
37 $${TARGET}-$${VERSION}/Makefile ; \
38 tar -cz --exclude=.svn -f $$tarball.target $${TARGET}-$${VERSION} ; \
39 $(DEL_FILE) -r $${TARGET}-$${VERSION}
40 tarball.depends = changelog icon distclean