The attached patch cleans up a few things currently missed by distclean but
there are a couple of outstanding issues that I don't know how to address.
Any ideas?
src/frontends/Makefile.am has this:
DIST_SUBDIRS = controllers xforms qt2 gtk
which means that "make distclean" results in this (note that
src/frontends/gnome is not visited):
$ ls -aF */*/*
boost/libs/filesystem:
./ ../ src/
boost/libs/regex:
./ ../ src/
boost/libs/signals:
./ ../ src/
src/frontends/controllers:
./ ../
src/frontends/gnome:
./ ../ .deps/ Makefile
src/frontends/gtk:
./ ../ gimages/ glade/
src/frontends/qt2:
./ ../ moc/ ui/
src/frontends/xforms:
./ ../ forms/
src/support/tests:
./ ../
src/frontends/xforms/forms/Makefile.am has this:
.fd.C: $(srcdir)/fdfix.sh $(srcdir)/fdfix[ch].sed $(srcdir)/tmp_str.sed
{ [ $(srcdir) != . ] && [ ! -r $(<F) ] && $(LN_S) $< . ; } || true
$(SHELL) $(SCRIPT) $(<F)
which means that I'm left with a whole heap of symbolic links that are not
cleaned out by any of the clean, distclean, maintainer-clean targets.
$ ls -aF */*/*/*
src/frontends/gnome/Makefile
boost/libs/filesystem/src:
./ ../
boost/libs/regex/src:
./ ../
boost/libs/signals/src:
./ ../
src/frontends/gtk/gimages:
./ ../
src/frontends/gtk/glade:
./ ../
src/frontends/qt2/moc:
./ ../
src/frontends/qt2/ui:
./ ../ moc/
src/frontends/xforms/forms:
./ form_external.fd@ form_ref.fd@
../ form_filedialog.fd@ form_search.fd@
form_aboutlyx.fd@ form_float.fd@ form_sendto.fd@
form_bibitem.fd@ form_graphics.fd@ form_spellchecker.fd@
form_bibtex.fd@ form_include.fd@ form_tabular_create.fd@
form_box.fd@ form_maths_delim.fd@ form_tabular.fd@
form_branch.fd@ form_maths_matrix.fd@ form_texinfo.fd@
form_browser.fd@ form_maths_panel.fd@ form_text.fd@
form_changes.fd@ form_maths_space.fd@ form_thesaurus.fd@
form_character.fd@ form_maths_style.fd@ form_toc.fd@
form_citation.fd@ form_note.fd@ form_url.fd@
form_colorpicker.fd@ form_paragraph.fd@ form_vspace.fd@
form_document.fd@ form_preamble.fd@ form_wrap.fd@
form_errorlist.fd@ form_preferences.fd@
form_ert.fd@ form_print.fd@
--
AngusIndex: config/common.am
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/config/common.am,v
retrieving revision 1.14
diff -u -p -r1.14 common.am
--- config/common.am 20 Jan 2005 14:44:19 -0000 1.14
+++ config/common.am 4 May 2005 09:12:47 -0000
@@ -2,7 +2,7 @@ AUTOMAKE_OPTIONS = foreign
CLEANFILES = pch.h.gch
-DISTCLEANFILES= *.orig *.rej *~ *.bak core
+DISTCLEANFILES= pch.h.gch.dep *.orig *.rej *~ *.bak core
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
Index: lib/Makefile.am
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/lib/Makefile.am,v
retrieving revision 1.70
diff -u -p -r1.70 Makefile.am
--- lib/Makefile.am 9 Apr 2005 10:52:52 -0000 1.70
+++ lib/Makefile.am 4 May 2005 09:12:49 -0000
@@ -1,6 +1,6 @@
include $(top_srcdir)/config/common.am
-DISTCLEANFILES += textclass.lst packages.lst lyxrc.defaults
+DISTCLEANFILES += texput.log textclass.lst packages.lst lyxrc.defaults
SUBDIRS = doc reLyX
Index: src/frontends/qt2/ui/Makefile.am
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/frontends/qt2/ui/Makefile.am,v
retrieving revision 1.30
diff -u -p -r1.30 Makefile.am
--- src/frontends/qt2/ui/Makefile.am 22 Apr 2005 10:59:17 -0000 1.30
+++ src/frontends/qt2/ui/Makefile.am 4 May 2005 09:12:53 -0000
@@ -1,7 +1,7 @@
include $(top_srcdir)/config/common.am
include $(srcdir)/../Makefile.dialogs
-CLEANFILES += *.C *Base.h
+CLEANFILES += *.C *Base.h *Module.h *Dialog.h
SUBDIRS = . moc