Index: configure
===================================================================
--- configure	(revision 6764)
+++ configure	(working copy)
@@ -2612,10 +2612,12 @@
 if test $? -ne 0 ; then
   mv -f $TMPH $MYTH_CONFIG_H
   rm -f config.h
-  ln -s $MYTH_CONFIG_H config.h
 else
   echo "$MYTH_CONFIG_H is unchanged"
 fi
+if ! test -L config.h ; then
+  ln -s $MYTH_CONFIG_H config.h
+fi
 
 if [ ! -e config.h ] ; then
   ln -s $MYTH_CONFIG_H config.h
@@ -2623,7 +2625,25 @@
 
 rm -f config.mak
 ln -s $MYTH_CONFIG_MAK config.mak
+mkdir config
+cat - > config/Makefile <<END
 
+all:	
+qmake_all:
+
+clean:
+
+install:
+uninstall:
+
+distclean: clean
+	-rm -f ../$MYTH_CONFIG_MAK
+	-rm -f ../$MYTH_CONFIG_H
+	-rm -f ../config.mak ../config.h
+	-rm -f ../Makefile
+
+END
+
 rm -f $TMPO $TMPC $TMPE $TMPS $TMPH
 
 qmake mythtv.pro
Index: mythtv.pro
===================================================================
--- mythtv.pro	(revision 6764)
+++ mythtv.pro	(working copy)
@@ -13,6 +13,8 @@
 
 # Directories
 SUBDIRS += libs filters programs themes i18n
+# clean up config on distclean
+SUBDIRS += config
 
 using_frontend {
     SUBDIRS += setup
