From: Niki Roo Date: Sat, 18 May 2019 13:07:15 +0000 (+0200) Subject: update Makefile.base: allow including binaries from libs/bin X-Git-Url: https://git.nikiroo.be/?a=commitdiff_plain;h=5f74d0e7879c4b84b040772b37dcf32734b34b0c;p=fanfix-jexer.git update Makefile.base: allow including binaries from libs/bin --- diff --git a/Makefile.base b/Makefile.base index fe47347..0d365b8 100644 --- a/Makefile.base +++ b/Makefile.base @@ -8,6 +8,7 @@ # - 1.3.0: add 'man' for man(ual) pages # - 1.4.0: remove android stuff (not working anyway) # - 1.5.0: include sources and readme/changelog in jar +# - 1.5.1: include binaries from libs/bin/ into the jar # Required parameters (the commented out ones are supposed to be per project): @@ -153,6 +154,8 @@ $(NAME).jar: resources @ls *.md >/dev/null || cp VERSION README.md @echo "Copying documentation into bin/..." @cp -r *.md bin/ || cp VERSION bin/no-documentation.md + @[ ! -d libs/bin/ ] || echo "Copying additional binaries from libs/bin/ into bin/..." + @[ ! -d libs/bin/ ] || cp -r libs/bin/* bin/ @echo "Copying sources into bin/..." @cp -r src/* bin/ @echo "Making jar..."