Minor build improvements.

The build_linux.sh scripts stops when encountering an error
and reports what it is doing.

Directories constructed temporarily during the build
and files commonly constructed by the build
ignored by git, as we do not want to version those.

/usr/bin has become the official dwelling place of bash.
pull/183/head
Andreas Krüger 2021-11-07 23:40:56 +01:00
parent 4656afb171
commit 9033564224
No known key found for this signature in database
GPG Key ID: 4779172E114322B8
2 changed files with 17 additions and 1 deletions

13
.gitignore vendored 100644
View File

@ -0,0 +1,13 @@
/build_linux/
/build_osx/
/codec2/
/hamlib/
/hamlib-code/
/LPCNet/
/macdylibbundler/
a.out
*.o
*.make
*.log
*.marks

View File

@ -1,9 +1,12 @@
#!/bin/bash
#!/usr/bin/bash
# build_ubuntu.sh
#
# Build script for Ubuntu and Fedora Linux, git pulls codec2 and
# lpcnet repos so they are available for parallel development.
# Echo what you are doing, and fail if any of the steps fail:
set -x -e
export FREEDVGUIDIR=${PWD}
export CODEC2DIR=$FREEDVGUIDIR/codec2
export LPCNETDIR=$FREEDVGUIDIR/LPCNet