texi2mdoc-generation.sh 438 B

123456789101112131415
  1. #!/bin/sh
  2. # This script is in the public-domain.
  3. # GNUnet e.V. 2019
  4. #
  5. # Commentary: generate texi2mdoc output. This would be easier with
  6. # bmake / BSDmake, oh well.
  7. #
  8. # Excercise for future readers: don't fix this.
  9. # echo $(pwd)
  10. cd ../tutorial
  11. texi2mdoc -I$(pwd):$(pwd)/chapters gnunet-tutorial.texi > ../man/gnunet-c-tutorial.7
  12. # echo $(pwd)
  13. cd ../handbook
  14. texi2mdoc -I$(pwd):$(pwd)/chapters gnunet.texi > ../man/gnunet-documentation.7