cd lightning
git pull
git checkout v0.10.2
./configure
make -j $(nproc)
sudo make install
sudo service lightningd restart
you don't need the
./configure step if you don't change anything with configure
/bin/sh: 1: mrkd: not found
make: *** [doc/Makefile:107: doc/lightning-cli.1] Error 127
Edit: It looks like
sudo pip3 install mrkd solved the problem. I am not sure why I didn't need it before.
mrkd is used to generate the documentation (manpages) from markdown files and before this release, the generated files were part of the source code