From 9ebe1cca0ca33e4f838d87b3f5496133da6fe817 Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Mon, 1 Dec 2003 17:35:39 +0000 Subject: [PATCH] 2003-12-01 Tim Waugh * doc/xmldocs.make: Fix builds for == (oops). svn: r2415 --- gramps2/ChangeLog | 3 +++ gramps2/doc/xmldocs.make | 10 +++++++++- 2 files changed, 12 insertions(+), 1 deletion(-) 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); \