Don't break the docs for those who run Magit directly from the git checkout.

Signed-off-by: Pieter Praet <[email protected]>
---
 Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 64db12a..b7411a0 100644
--- a/Makefile
+++ b/Makefile
@@ -170,9 +170,9 @@ test: $(ELCS)
 
 .PHONY: clean
 clean:
-       rm -f $(ELCS) $(LOADDEFS_FILE) magit-version.el magit.info
+       rm -f $(ELCS) $(LOADDEFS_FILE) magit-version.el
        rm -fr magit-$(VERSION) *.tar.gz *.tar
-       test -e .git || rm -f magit.info
+       -test ! -d .git && rm -f magit.info
 
 DIST_FILES  = $(ELS) magit-version.el Makefile AUTHORS
 DIST_FILES += README.md INSTALL.md magit.texi magit.info dir
-- 
1.7.11.1

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"magit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to