branch: elpa/nix-mode
commit 1c42c634bfc1f86dfb2feefd477dc65a4cb21703
Author: Matthew Bauer <[email protected]>
Commit: Matthew Bauer <[email protected]>
Allow missing git repo
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index e2199120ba..154660c232 100644
--- a/Makefile
+++ b/Makefile
@@ -29,7 +29,7 @@ install: $(ELCS) nix-mode.info nix-mode.html AUTHORS.md
cp nix-mode.info $(DESTDIR)$(PREFIX)/share/info/
mkdir -p $(DESTDIR)$(PREFIX)/share/doc/
- cp AUTHORS.md $(DESTDIR)$(PREFIX)/share/doc/
+ test -f AUTHORS.md && cp AUTHORS.md $(DESTDIR)$(PREFIX)/share/doc/ ||
true
AUTHORS.md:
@test -e .git \