source: confclerk_git/confclerk.pro @ 813d8dd

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

Create a simple man page.

  • Property mode set to 100644
File size: 1.4 KB
RevLine 
[5ede637]1# confclerk.pro
[0c658c1]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
[b90f02a]11SUBDIRS = src
[96344e7]12
[880be1b]13VERSION = 0.5.0
14
[496685d]15QMAKE_DISTCLEAN += src/bin/*.a
[813d8dd]16QMAKE_EXTRA_TARGETS += changelog icon man release tarball
[880be1b]17
18changelog.target = ChangeLog
19changelog.commands = \
20        svn up && svn2cl --group-by-day --reparagraph
21changelog.CONFIG = phony
22
[0346302]23icon.target = data/$${TARGET}.png
24icon.commands = convert data/$${TARGET}.svg data/$${TARGET}.png
25icon.depends = data/$${TARGET}.svg
26
[813d8dd]27man.target = data/$${TARGET}.1
28man.commands = pod2man --utf8 --center=\"Offlince conference scheduler\" --release=\"Version $${VERSION}\" data/$${TARGET}.pod > data/$${TARGET}.1
29man.depends = data/$${TARGET}.pod
30
[880be1b]31release.depends = tarball
32
33tarball.target = $${TARGET}-$${VERSION}.tar.gz
34tarball.commands = \
35        $(DEL_FILE) -r $${TARGET}-$${VERSION} ; \
36        $(MKDIR) $${TARGET}-$${VERSION} ; \
[496685d]37        $(COPY_DIR) * $${TARGET}-$${VERSION}/ ; \
38        $(DEL_FILE) $${TARGET}-$${VERSION}/*.pro.user \
39                $${TARGET}-$${VERSION}/$${TARGET}-$${VERSION}.tar.gz \
40                $(DEL_FILE) -r $${TARGET}-$${VERSION}/$${TARGET}-$${VERSION} \
41                $${TARGET}-$${VERSION}/Makefile ; \
[880be1b]42        tar -cz --exclude=.svn -f $$tarball.target $${TARGET}-$${VERSION} ; \
43        $(DEL_FILE) -r $${TARGET}-$${VERSION}
[813d8dd]44tarball.depends = changelog icon man distclean
Note: See TracBrowser for help on using the repository browser.