mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2024-11-15 12:55:36 +00:00
18 lines
287 B
Bash
Executable file
18 lines
287 B
Bash
Executable file
#!/bin/sh
|
|
|
|
#set -x
|
|
#echo "$@"
|
|
|
|
INPUT="$1"
|
|
OUTPUT0="$2"
|
|
|
|
BASENAME="$( basename "$INPUT" .xml )"
|
|
WD="$PWD"
|
|
DIR="$( dirname "$OUTPUT0" )"
|
|
|
|
cd "$DIR"
|
|
gdbus-codegen \
|
|
--generate-c-code "gdbo-${BASENAME}" \
|
|
--c-namespace GDBO \
|
|
--interface-prefix org.ofono. \
|
|
"${WD}/${INPUT}"
|