Is there a trick to getting QMAKE_CLEAN, or actually QMAKE_DISTCLEAN, to remove a directory? The generated Makefile has a DEL_DIR command, but everything in QMAKE_CLEAN gets tagged with DEL_FILE.

I would actually expect qmake to remove directories declared with, for example OBJECTS_DIR, when running "make distclean". But I would settle for a workaround.