3 update: update-readme update-latest
 
   6         ./youtube-dl --version > LATEST_VERSION
 
   9         @options=$$(COLUMNS=80 ./youtube-dl --help | sed -e '1,/.*General Options.*/ d' -e 's/^\W\{2\}\(\w\)/### \1/') && \
 
  10                 header=$$(sed -e '/.*## OPTIONS/,$$ d' README.md) && \
 
  11                 footer=$$(sed -e '1,/.*## FAQ/ d' README.md) && \
 
  12                 echo "$${header}" > README.md && \
 
  13                 echo -e '\n## OPTIONS' >> README.md && \
 
  14                 echo "$${options}" >> README.md&& \
 
  15                 echo -e '\n## FAQ' >> README.md && \
 
  16                 echo "$${footer}" >> README.md
 
  20 .PHONY: default update update-latest update-readme