summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2011-11-16 06:12:36 -0600
committerNorbert Thiebaud <nthiebaud@gmail.com>2011-11-16 06:18:54 -0600
commit9d76072055074cdd4bbd29ce6ba33c9499509fff (patch)
tree2cdf427eac63aa5a2927ca5f498242306a5b64b9
parentcb70868bdae30e01323afeb7cc6021a6b10003f0 (diff)
avoid running autogen.sh when trying to clean or distclean
-rw-r--r--Makefile.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index 716aad7ce2f9..9f58d3339e05 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -121,8 +121,12 @@ endif
fetch: src.downloaded
+ifneq ($(MAKECMDGOALS),clean)
+ifneq ($(MAKECMDGOALS),distclean)
Makefile: autogen.lastrun configure.in ooo.lst.in set_soenv.in Makefile.in
./autogen.sh
+endif
+endif
id:
@. ./Env.Host.sh && \