diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog
index 72fe88383..cef95cf03 100644
--- a/gramps2/ChangeLog
+++ b/gramps2/ChangeLog
@@ -1,4 +1,6 @@
 2004-10-28  Don Allingham  <dallingham@users.sourceforge.net>
+	* Makefile.am: added distuninstallcheck_listfiles
+	* doc/Makefile.am: Added CLEANFILES
 	* src/Date.py: Added "set_year" function
 	* src/Utils.py: qualifiy Date calls, eliminate string
 	module usage
diff --git a/gramps2/Makefile.am b/gramps2/Makefile.am
index 076683e59..fddcdff5b 100644
--- a/gramps2/Makefile.am
+++ b/gramps2/Makefile.am
@@ -3,6 +3,8 @@ SUBDIRS = src doc example
 EXTRA_DIST = autogen.sh gramps.spec.in gramps.spec gramps-mdk.spec.in COPYING-DOCS FAQ
 
 bin_SCRIPTS = gramps
+distuninstallcheck_listfiles = find . -type -f -print | grep -E -v '/(globs|magic|XMLnamespaces)'
+
 
 gramps: gramps.sh
 	cp gramps.sh gramps
diff --git a/gramps2/doc/Makefile.am b/gramps2/doc/Makefile.am
index c4a0e0869..395698cbf 100644
--- a/gramps2/doc/Makefile.am
+++ b/gramps2/doc/Makefile.am
@@ -10,4 +10,4 @@ EXTRA_DIST = $(man_MANS) $(man_IN_FILES) xmldocs.make omf.make
 gramps.1: $(top_builddir)/config.status gramps.1.in
 	cd $(top_builddir) && CONFIG_FILES=doc/$@ $(SHELL) ./config.status
 
-CLEANFILES=$(man_MANS)
+CLEANFILES=$(man_MANS) $(SUBDIRS)/*/*.out $(SUBDIRS)/*/omf_timestamp