File: gen.sh

package info (click to toggle)
baresip 1.1.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,328 kB
  • sloc: ansic: 53,606; cpp: 2,268; makefile: 332; objc: 320; python: 259; sh: 40; xml: 19
file content (10 lines) | stat: -rwxr-xr-x 363 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
#!/bin/bash
gdbus-codegen --generate-c-code baresipbus --c-namespace DBus \
    --interface-prefix com.github. com.github.Baresip.xml
if pandoc -v &> /dev/null
then
    gdbus-codegen --generate-docbook doc com.github.Baresip.xml
    pandoc --from docbook --to html --output ctrl_dbus.html \
        doc-com.github.Baresip.xml
    rm doc-com.github.Baresip.xml
fi