[Libreoffice] [PATCH RFC] change in distclean behavior

Peter Foley pefoley2 at verizon.net
Sun Sep 18 16:34:12 PDT 2011


The attached patch changes distclean to delete configure generated files.
I'd like to check that this is ok before commiting.

Peter
-------------- next part --------------
From b80c03d8ae2659b957da3b449b47bc777af106ea Mon Sep 17 00:00:00 2001
From: Peter Foley <pefoley2 at verizon.net>
Date: Sun, 18 Sep 2011 18:45:19 -0400
Subject: [PATCH] refactor distclean

---
 Makefile.in |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/Makefile.in b/Makefile.in
index fcd88b9..ecad732 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -69,12 +69,14 @@ distro-pack-install: install
 	./bin/distro-install-sdk
 	./bin/distro-install-file-lists
 
-distclean:
-	-rm config.cache
-	-rm config.log
+distclean: clean
 ifeq (@BUILD_DMAKE@,YES)
-	-$(GNUMAKE) -C dmake distclean
+	-test -f dmake/Makefile && $(MAKE) -C dmake distclean
 endif
+	rm -rf Env.Host.sh Makefile aclocal.m4 autogen.lastrun autom4te.cache \
+	bin/repo-list bootstrap config.log config.status configure \
+	desktop/scripts/soffice.sh ooo.lst post_download post_download.log \
+	set_soenv set_soenv.last set_soenv.stamp src.downloaded warn
 
 clean:
 	. ./Env.Host.sh && \
-- 
1.7.6.1



More information about the LibreOffice mailing list