CI: Add install-headers to the install make targets
authorGeorge Joseph <gjoseph@digium.com>
Fri, 19 Jul 2019 13:38:39 +0000 (07:38 -0600)
committerGeorge Joseph <gjoseph@digium.com>
Fri, 19 Jul 2019 13:38:39 +0000 (07:38 -0600)
The testsuite actually needs the headers installed to run
it's self_test.

Change-Id: Ice41d331131b876ad4a9c056085fe6aac34b32b2

tests/CI/installAsterisk.sh

index 0806566..d84bf3e 100755 (executable)
@@ -16,7 +16,7 @@ destdir=${DESTDIR:+DESTDIR=$DESTDIR}
 [ $UNINSTALL_ALL -gt 0 ] && ${MAKE} ${destdir} uninstall-all
 
 ${MAKE} ${destdir} install || ${MAKE} ${destdir} NOISY_BUILD=yes install || exit 1
-${MAKE} ${destdir} samples
+${MAKE} ${destdir} samples install-headers
 if [ x"$DESTDIR" != x ] ; then
        sed -i -r -e "s@\[directories\]\(!\)@[directories]@g" $DESTDIR/etc/asterisk/asterisk.conf
        sed -i -r -e "s@ /(var|etc|usr)/@ $DESTDIR/\1/@g" $DESTDIR/etc/asterisk/asterisk.conf