install.do: don't crash when the manpages fail to build.

This commit is contained in:
Avery Pennarun 2010-12-12 05:42:20 -08:00
commit f5eabe61d2

View file

@ -15,7 +15,10 @@ echo "Installing to: $DESTDIR$PREFIX"
$INSTALL -d $MANDIR/man1 $DOCDIR $BINDIR $LIBDIR $INSTALL -d $MANDIR/man1 $DOCDIR $BINDIR $LIBDIR
# docs # 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 $INSTALL -m 0644 README.md $DOCDIR
# .py files (precompiled to .pyc files for speed) # .py files (precompiled to .pyc files for speed)