Update build system

This commit is contained in:
Laurence Withers 2012-01-07 17:39:43 +00:00
commit 4ec2a3a2f3
12 changed files with 41 additions and 46 deletions

View file

@ -6,7 +6,8 @@
if [ -z ${leaptable_compiler_BUILT} ]
then
leaptable_compiler="obj/leaptable-compiler"
EXTRAS="-std=gnu99 -D_GNU_SOURCE ${LIBISO8601_CFLAGS} ${LIBISO8601_LIBS}"
EXTRAS="-std=gnu99 -D_GNU_SOURCE -DAPP_NAME=\"leaptable-compiler\" \
${LIBISO8601_CFLAGS} ${LIBISO8601_LIBS}"
echo "Building application ${leaptable_compiler}..."
@ -37,5 +38,4 @@ then
fi
# kate: replace-trailing-space-save true; space-indent true; tab-width 4;
# vim: syntax=sh:expandtab:ts=4:sw=4

View file

@ -8,5 +8,4 @@ echo "Installing binaries into '${BINDIR}'"
install_file "${leaptable_compiler}" "${BINDIR}" 0755 || return 1
print_success "Done"
# kate: replace-trailing-space-save true; space-indent true; tab-width 4;
# vim: syntax=sh:expandtab:ts=4:sw=4

View file

@ -14,5 +14,4 @@ then
MONOLITHIC_DOC="${MONOLITHIC_DOC} ${SRC}"
fi
# kate: replace-trailing-space-save true; space-indent true; tab-width 4;
# vim: syntax=sh:expandtab:ts=4:sw=4

View file

@ -1,4 +1,4 @@
FILES_INSTALL_DIR="${SHAREDIR}/libiso8601"
FILES_INSTALL_DIR="${SHAREDIR}/share" # @TODO@
# create destination directories
echo "Installing files into ${FILES_INSTALL_DIR}"
@ -12,5 +12,4 @@ do
done
print_success "Files installed"
# kate: replace-trailing-space-save true; space-indent true; tab-width 4;
# vim: syntax=sh:expandtab:ts=4:sw=4