logo

oasis

Own branch of Oasis Linux (upstream: <https://git.sr.ht/~mcf/oasis/>) git clone https://anongit.hacktivis.me/git/oasis.git

gen.lua (364B)


  1. cflags{
  2. '-D __BEGIN_DECLS=',
  3. '-D __END_DECLS=',
  4. '-Wall',
  5. }
  6. sub('host.ninja', function()
  7. toolchain(config.host)
  8. cflags{'-D __BEGIN_DECLS=', '-D __END_DECLS='}
  9. set('outdir', '$outdir/host')
  10. exe('texi2mdoc', {'main.c', 'util.c'})
  11. end)
  12. file('bin/texi2mdoc', '755', exe('texi2mdoc', {'main.c', 'util.c'}))
  13. man{'texi2mdoc.1'}
  14. fetch 'curl'