source: fosdem-schedule.pro @ 880be1b

qt5
Last change on this file since 880be1b was 880be1b, checked in by gregor herrmann <gregoa@…>, 11 years ago

Add release and changelog targets to project file.

  • Property mode set to 100644
File size: 819 bytes
Line 
1# fosdem-schedule.pro
2
3QMAKEVERSION = $$[QMAKE_VERSION]
4ISQT4 = $$find(QMAKEVERSION, ^[2-9])
5isEmpty( ISQT4 ) {
6error("Use the qmake include with Qt4.4 or greater, on Debian that is
7qmake-qt4");
8}
9
10TEMPLATE = subdirs
11SUBDIRS = src
12
13VERSION = 0.5.0
14
15QMAKE_EXTRA_TARGETS += tarball changelog release
16QMAKE_DISTCLEAN += ChangeLog
17
18changelog.target = ChangeLog
19changelog.commands = \
20        svn up && svn2cl --group-by-day --reparagraph
21changelog.CONFIG = phony
22
23release.depends = tarball
24
25tarball.target = $${TARGET}-$${VERSION}.tar.gz
26tarball.commands = \
27        $(DEL_FILE) -r $${TARGET}-$${VERSION} ; \
28        $(MKDIR) $${TARGET}-$${VERSION} ; \
29        $(COPY_DIR) --parents * $${TARGET}-$${VERSION}/ ; \
30        tar -cz --exclude=.svn -f $$tarball.target $${TARGET}-$${VERSION} ; \
31        $(DEL_FILE) -r $${TARGET}-$${VERSION}
32tarball.depends = changelog
Note: See TracBrowser for help on using the repository browser.