commit 7293142804d9e432cda75b24e7987b55640bcaab from: Thomas Adam via: Thomas Adam date: Tue Sep 21 20:55:42 2021 UTC autoconf: add wrapper script This adds a 'autogen.sh' wrapper script for generating configure. README.portable is also updated accordingly. commit - dd6165e49c3235f6e7c8bf7e2c1f9635009f08a4 commit + 7293142804d9e432cda75b24e7987b55640bcaab blob - c45f4472af3c2badce8145589e4e33fff3b66e60 blob + 7a3db489f689a2a6b307e64566963b2cbc8bd429 --- README.portable +++ README.portable @@ -26,7 +26,7 @@ also be installed. INSTALLATION ============ - $ autoreconf -i + $ ./autogen.sh $ ./configure && make $ sudo make install @@ -43,6 +43,6 @@ CONTACT ======= Thomas Adam -thomas_adam (#gameoftrees on irc.freenode.net) +thomas_adam (#gameoftrees on irc.libera.chat) [1] https://gameoftrees.org blob - /dev/null blob + 785467871ee34cbb0f2a4792c0ea48ebafe2da68 (mode 755) --- /dev/null +++ autogen.sh @@ -0,0 +1,9 @@ +#!/bin/sh + +die() +{ + echo "$@" >&2 + exit $2 +} + +autoreconf -f -i -v || die "autoreconf failed" $?