summaryrefslogtreecommitdiff
path: root/doc-build
diff options
context:
space:
mode:
authorJames Henstridge <james@jamesh.id.au>2005-01-03 09:27:36 +0000
committerJames Henstridge <jamesh@src.gnome.org>2005-01-03 09:27:36 +0000
commit83c1ee7944624c0cd45eda8155d1dc232f4d620b (patch)
treebfbb6c823ec9fcd7b6144384846047def62f0d8b /doc-build
parentf9c955f0dffb1e5dec532970b9b0c9d4798584d1 (diff)
downloadgnome-common-83c1ee7944624c0cd45eda8155d1dc232f4d620b.tar.gz
add some code to add the directory given to AC_CONFIG_MACRO_DIR to
2005-01-03 James Henstridge <james@jamesh.id.au> * macros2/gnome-common.m4 (GNOME_COMMON_INIT): add some code to add the directory given to AC_CONFIG_MACRO_DIR to ACLOCAL_FLAGS. * doc-build/xmldocs.make (clean-local-doc): add rule to clean up copied entities if srcdir!=builddir. svn path=/trunk/; revision=3486
Diffstat (limited to 'doc-build')
-rw-r--r--doc-build/xmldocs.make8
1 files changed, 7 insertions, 1 deletions
diff --git a/doc-build/xmldocs.make b/doc-build/xmldocs.make
index 84d0f2b..b93e3f3 100644
--- a/doc-build/xmldocs.make
+++ b/doc-build/xmldocs.make
@@ -92,4 +92,10 @@ uninstall-local-doc:
done
-rmdir $(DESTDIR)$(docdir)
-clean-local: clean-local-omf
+clean-local: clean-local-doc clean-local-omf
+
+# for non-srcdir builds, remove the copied entities.
+clean-local-doc:
+ if test $(srcdir) != .; then \
+ rm -f $(entities); \
+ fi