cgmnlm

Unnamed repository; edit this file 'description' to name the repository.
git clone git://code.clttr.info/cgmnlm.git
Log | Files | Refs | README | LICENSE

commit 9f98e013a6cd966cf4dc2d98187d6f0ba6f7fb5c
parent 9551d0a3822312a0a4917ccbe80fdaeb49954d70
Author: Drew DeVault <sir@cmpwn.com>
Date:   Wed, 23 Sep 2020 10:20:32 -0400

config.sh: remove project-specific code

Or reduce, really. Just makes this script easier to re-use elsewhere.

Diffstat:
Mconfig.sh | 9+++++++--
1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/config.sh b/config.sh @@ -88,6 +88,8 @@ find_library() { LIBS="$LIBS $(pkg-config --libs "$pc")" } +docs() { true; } + run_configure() { mkdir -p $outdir @@ -133,8 +135,11 @@ run_configure() { all: ${all} EOF - gmni >>"$outdir"/config.mk - gmnlm >>"$outdir"/config.mk + + for target in $all + do + $target >>"$outdir"/config.mk + done echo done touch $outdir/cppcache