Now ignoring .blend1 files (backup files Blender creates after saving).
[toast/confclerk.git] / confclerk.pro
index 625060d328ce580acdfae5d3699734c0093a80e8..788430840fcb5c74ad6e70809b0d34103d644a4c 100644 (file)
@@ -12,11 +12,11 @@ SUBDIRS = src
 # The global.pri defines the VERSION of the project
 include(src/global.pri)
 
-QMAKE_EXTRA_TARGETS += changelog icon man release releaseclean tarball
+QMAKE_EXTRA_TARGETS += changelog icon man release releaseclean tarball signature
 
 changelog.target = ChangeLog
 changelog.commands = \
-       svn up && svn2cl --group-by-day --reparagraph
+       git pull && /usr/share/gnulib/build-aux/gitlog-to-changelog > ChangeLog
 changelog.CONFIG = phony
 
 icon.target = data/$${TARGET}.png
@@ -24,13 +24,13 @@ 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.commands = \
+       pod2man --utf8 --center=\"Offline conference scheduler\" --release=\"Version $${VERSION}\" data/$${TARGET}.pod > data/$${TARGET}.1
 man.depends = data/$${TARGET}.pod
 
-release.depends = releaseclean tarball
-
 releaseclean.commands = \
- $(DEL_FILE) data/$${TARGET}.png data/$${TARGET}.1 ChangeLog
+ $(DEL_FILE) data/$${TARGET}.png data/$${TARGET}.1 ChangeLog $${TARGET}-$${VERSION}.tar.gz.asc
+release.depends = distclean releaseclean tarball signature
 #releaseclean.CONFIG = phony
 
 tarball.target = $${TARGET}-$${VERSION}.tar.gz
@@ -42,6 +42,11 @@ tarball.commands = \
                $${TARGET}-$${VERSION}/$${TARGET}-$${VERSION}.tar.gz \
                $(DEL_FILE) -r $${TARGET}-$${VERSION}/$${TARGET}-$${VERSION} \
                $${TARGET}-$${VERSION}/Makefile ; \
-       tar -cz --exclude=.svn --exclude=*.tar.gz -f $$tarball.target $${TARGET}-$${VERSION} ; \
+       tar -cz --exclude=.svn --exclude=.git --exclude=*.tar.gz -f $$tarball.target $${TARGET}-$${VERSION} ; \
        $(DEL_FILE) -r $${TARGET}-$${VERSION}
 tarball.depends = changelog icon man
+
+signature.target = $${TARGET}-$${VERSION}.tar.gz.asc
+signature.commands = \
+       gpg --armor --detach-sign $${TARGET}-$${VERSION}.tar.gz
+signature.depends = tarball