.pro: Add created files to QMAKE_DISTCLEAN.
[toast/confclerk.git] / confclerk.pro
index 662e5fb953dd8410200569e9ec73d015c838f01c..6240ec35479ff494df0806c75c08940ab7e04659 100644 (file)
@@ -12,7 +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
 
 changelog.target = ChangeLog
@@ -35,7 +35,7 @@ tarball.commands = \
        $(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 ; \