From 69a59546e0c61cdb7b4ec10e62e07eb3ee59a2f5 Mon Sep 17 00:00:00 2001
From: Nik Clayton <nik@FreeBSD.org>
Date: Sun, 16 Jul 2000 16:34:08 +0000
Subject: Make sure the LOCAL_LIB_IMAGES_DIR directory is cleaned
 appropriately.

---
 share/mk/doc.subdir.mk | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/share/mk/doc.subdir.mk b/share/mk/doc.subdir.mk
index 99292fef89..a96e89ffb0 100644
--- a/share/mk/doc.subdir.mk
+++ b/share/mk/doc.subdir.mk
@@ -1,7 +1,7 @@
 # Taken from:
 #	Id: bsd.subdir.mk,v 1.27 1999/03/21 06:43:40 bde
 #
-# $FreeBSD: doc/share/mk/doc.subdir.mk,v 1.2 1999/09/06 06:53:39 peter Exp $
+# $FreeBSD: doc/share/mk/doc.subdir.mk,v 1.3 1999/10/06 14:00:17 jesusr Exp $
 #
 # This include file <doc.subdir.mk> contains the default targets
 # for building subdirectories in the FreeBSD Documentation Project.
@@ -188,6 +188,9 @@ clean: _SUBDIRUSE
 .if defined(CLEANDIRS) && !empty(CLEANDIRS)
 	rm -rf ${CLEANDIRS}
 .endif
+.if defined(LIB_IMAGES) && !empty(LOCAL_LIB_IMAGES_DIR)
+	rm -rf ${LOCAL_LIB_IMAGES_DIR}
+.endif
 .endif
 
 cleandir: cleanobj _SUBDIRUSE
-- 
cgit v1.2.3