From: gregor herrmann Date: Tue, 28 May 2013 19:23:01 +0000 (+0000) Subject: Move removal of generated file into new releaseclean target. X-Git-Tag: 0.6.0~8 X-Git-Url: https://git.toastfreeware.priv.at/toast/confclerk.git/commitdiff_plain/e84ed0454df937ea6b4cc4d45bb16b7878976c8b Move removal of generated file into new releaseclean target. --- diff --git a/confclerk.pro b/confclerk.pro index 6240ec3..625060d 100644 --- a/confclerk.pro +++ b/confclerk.pro @@ -12,8 +12,7 @@ SUBDIRS = src # The global.pri defines the VERSION of the project include(src/global.pri) -QMAKE_DISTCLEAN += data/$${TARGET}.png data/$${TARGET}.1 ChangeLog -QMAKE_EXTRA_TARGETS += changelog icon man release tarball +QMAKE_EXTRA_TARGETS += changelog icon man release releaseclean tarball changelog.target = ChangeLog changelog.commands = \ @@ -28,7 +27,11 @@ 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 +release.depends = releaseclean tarball + +releaseclean.commands = \ + $(DEL_FILE) data/$${TARGET}.png data/$${TARGET}.1 ChangeLog +#releaseclean.CONFIG = phony tarball.target = $${TARGET}-$${VERSION}.tar.gz tarball.commands = \