Make sure to remove src/bin/libqalarm.a on make clean.
[toast/confclerk.git] / confclerk.pro
index b97ddc2..662e5fb 100644 (file)
@@ -13,7 +13,6 @@ SUBDIRS = src
 include(src/global.pri)
 
 
-QMAKE_DISTCLEAN += src/bin/*.a data/$${TARGET}.png data/$${TARGET}.1 ChangeLog
 QMAKE_EXTRA_TARGETS += changelog icon man release tarball
 
 changelog.target = ChangeLog
@@ -40,6 +39,6 @@ tarball.commands = \
                $${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}
-tarball.depends = changelog icon man distclean
+tarball.depends = changelog icon man