94592c1406
So long, autotools! This is my last MPD related project to migrate away from it. It has its strengths, but also very obvious weaknesses and weirdnesses. Today, many of its quirks are not needed anymore, and are cumbersome and slow. Now welcome our new Meson overlords!
13 lines
263 B
Bash
Executable File
13 lines
263 B
Bash
Executable File
#!/bin/sh -e
|
|
|
|
AIDL=$1
|
|
SRC=$2
|
|
DST=$3
|
|
GENSRC=$4
|
|
JAVA_PKG_PATH=$5
|
|
|
|
mkdir -p "$GENSRC/$JAVA_PKG_PATH"
|
|
cp "$SRC" "$GENSRC/$JAVA_PKG_PATH/"
|
|
"$AIDL" -I"$GENSRC" -o"$GENSRC" "$GENSRC/$JAVA_PKG_PATH/`basename $SRC`"
|
|
exec cp "$GENSRC/$JAVA_PKG_PATH/`basename $DST`" "$DST"
|