Branch
Hash :
94046104
Author :
Thomas de Grivel
Date :
2020-02-24T15:19:27
#!/bin/sh
MODULE=stk
LIBS=$(grep -E '^PW13_LIBS' Makefile.am | awk -F '=' '{print $2}')
SRCDIR=$(pwd)
if test -x ${PWD}/../pw13-makefile-am; then
PW13_MAKEFILE_AM=${PWD}/../pw13-makefile-am
else
PW13_MAKEFILE_AM=pw13-makefile-am
fi
for L in ${LIBS}; do
if [ "$1" = "-f" ] || [ "$2" = "-f" ]; then
rm -f ${SRCDIR}/$L/Makefile.am ${SRCDIR}/$L/Makefile.in
fi
echo -n "Updating $L: "
cd ${SRCDIR}/$L && ${PW13_MAKEFILE_AM} ${MODULE} .. $L
done
exit 0