diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 242316613..93ac3eaf2 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,6 @@ +2003-12-01 Tim Waugh + * doc/xmldocs.make: Fix builds for $top_srcdir == $top_builddir (oops). + 2003-12-01 Alex Roitman * doc/gramps-manual/C/keybind.xml: Update. * doc/gramps-manual/C/usage.xml: Update. diff --git a/gramps2/doc/xmldocs.make b/gramps2/doc/xmldocs.make index 10bb0d80b..80d3ed803 100644 --- a/gramps2/doc/xmldocs.make +++ b/gramps2/doc/xmldocs.make @@ -43,7 +43,7 @@ xml_files = $(entities) $(docname).xml omf_dir=$(top_srcdir)/omf-install EXTRA_DIST = $(xml_files) $(omffile) -CLEANFILES = omf_timestamp $(xml_files) +CLEANFILES = omf_timestamp include $(top_srcdir)/doc/omf.make @@ -54,6 +54,14 @@ $(docname).xml: $(entities) cd $(srcdir); \ cp $(entities) $$ourdir +.PHONY: distclean-hook +distclean: distclean-hook +distclean-hook: + if [ $(top_srcdir) != $(top_builddir) ]; \ + then \ + rm -f $(entities); \ + fi + app-dist-hook: if test "$(figdir)"; then \ $(mkinstalldirs) $(distdir)/$(figdir); \