ToastFreeware
/
toast
/
confclerk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add .pro.user.* to svn:ignore and remove it in the release target.
[toast/confclerk.git]
/
confclerk.pro
diff --git
a/confclerk.pro
b/confclerk.pro
index 0b06b89ad1c4d2182ddc185e25b0809844447d7c..0b8db1a8c97c819a44e4b2082026deff456d2ec4 100644
(file)
--- a/
confclerk.pro
+++ b/
confclerk.pro
@@
-3,17
+3,17
@@
QMAKEVERSION = $$[QMAKE_VERSION]
ISQT4 = $$find(QMAKEVERSION, ^[2-9])
isEmpty( ISQT4 ) {
QMAKEVERSION = $$[QMAKE_VERSION]
ISQT4 = $$find(QMAKEVERSION, ^[2-9])
isEmpty( ISQT4 ) {
-error("Use the qmake include with Qt4.4 or greater, on Debian that is
-qmake-qt4");
+ error("Use the qmake include with Qt4.4 or greater, on Debian that is qmake-qt4");
}
TEMPLATE = subdirs
SUBDIRS = src
}
TEMPLATE = subdirs
SUBDIRS = src
-VERSION = 0.5.0
+# The global.pri defines the VERSION of the project
+include(src/global.pri)
-QMAKE_DISTCLEAN += src/bin/*.a
-QMAKE_EXTRA_TARGETS +=
tarball icon changelog release
+
+QMAKE_EXTRA_TARGETS +=
changelog icon man release tarball
changelog.target = ChangeLog
changelog.commands = \
changelog.target = ChangeLog
changelog.commands = \
@@
-24,6
+24,10
@@
icon.target = data/$${TARGET}.png
icon.commands = convert data/$${TARGET}.svg data/$${TARGET}.png
icon.depends = data/$${TARGET}.svg
icon.commands = convert data/$${TARGET}.svg data/$${TARGET}.png
icon.depends = data/$${TARGET}.svg
+man.target = data/$${TARGET}.1
+man.commands = pod2man --utf8 --center=\"Offlince conference scheduler\" --release=\"Version $${VERSION}\" data/$${TARGET}.pod > data/$${TARGET}.1
+man.depends = data/$${TARGET}.pod
+
release.depends = tarball
tarball.target = $${TARGET}-$${VERSION}.tar.gz
release.depends = tarball
tarball.target = $${TARGET}-$${VERSION}.tar.gz
@@
-31,10
+35,10
@@
tarball.commands = \
$(DEL_FILE) -r $${TARGET}-$${VERSION} ; \
$(MKDIR) $${TARGET}-$${VERSION} ; \
$(COPY_DIR) * $${TARGET}-$${VERSION}/ ; \
$(DEL_FILE) -r $${TARGET}-$${VERSION} ; \
$(MKDIR) $${TARGET}-$${VERSION} ; \
$(COPY_DIR) * $${TARGET}-$${VERSION}/ ; \
- $(DEL_FILE) $${TARGET}-$${VERSION}/*.pro.user \
+ $(DEL_FILE) $${TARGET}-$${VERSION}/*.pro.user
*
\
$${TARGET}-$${VERSION}/$${TARGET}-$${VERSION}.tar.gz \
$(DEL_FILE) -r $${TARGET}-$${VERSION}/$${TARGET}-$${VERSION} \
$${TARGET}-$${VERSION}/Makefile ; \
$${TARGET}-$${VERSION}/$${TARGET}-$${VERSION}.tar.gz \
$(DEL_FILE) -r $${TARGET}-$${VERSION}/$${TARGET}-$${VERSION} \
$${TARGET}-$${VERSION}/Makefile ; \
- tar -cz --exclude=.svn -f $$tarball.target $${TARGET}-$${VERSION} ; \
+ tar -cz --exclude=.svn -
-exclude=*.tar.gz -
f $$tarball.target $${TARGET}-$${VERSION} ; \
$(DEL_FILE) -r $${TARGET}-$${VERSION}
$(DEL_FILE) -r $${TARGET}-$${VERSION}
-tarball.depends = changelog icon
distcle
an
+tarball.depends = changelog icon
m
an