changeset 9220:0a999fedb6e0 HEAD

quota: When building in a separate dir, make clean should delete copied rquota.
author Timo Sirainen <tss@iki.fi>
date Thu, 09 Jul 2009 22:56:36 -0400
parents a9f719f9a509
children 557eb84a64ae
files src/plugins/quota/Makefile.am
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/plugins/quota/Makefile.am	Thu Jul 09 22:09:57 2009 -0400
+++ b/src/plugins/quota/Makefile.am	Thu Jul 09 22:56:36 2009 -0400
@@ -73,4 +73,7 @@
 DISTFILES = $(DIST_COMMON) $(quota_dist_sources) $(TEXINFOS) $(EXTRA_DIST)
 
 clean-generic:
+	if [ "$(builddir)" != "" ] && [ "$(srcdir)" != "$(builddir)" ]; then \
+	  rm -f $(builddir)/rquota.x; \
+	fi; \
 	rm -f rquota_xdr.c rquota.h