From f5eabe61d25564ce7ea62eef2698cf94bc45b98c Mon Sep 17 00:00:00 2001 From: Avery Pennarun Date: Sun, 12 Dec 2010 05:42:20 -0800 Subject: [PATCH] install.do: don't crash when the manpages fail to build. --- install.do | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/install.do b/install.do index b224e21..1922fcc 100644 --- a/install.do +++ b/install.do @@ -15,7 +15,10 @@ echo "Installing to: $DESTDIR$PREFIX" $INSTALL -d $MANDIR/man1 $DOCDIR $BINDIR $LIBDIR # docs -$INSTALL -m 0644 Documentation/*.1 $MANDIR/man1 +for d in Documentation/*.1; do + [ "$d" = "Documentation/*.1" ] && continue + $INSTALL -m 0644 $d $MANDIR/man1 +done $INSTALL -m 0644 README.md $DOCDIR # .py files (precompiled to .pyc files for speed)