mirror of
https://github.com/irssi/irssi.git
synced 2026-08-18 16:12:30 +02:00
Introduce check for git commands in autogen
This avoids a misleading compile error when users try to `make` an incomplete (or non-git) check-out.
This commit is contained in:
parent
6fcafc5993
commit
a393c67540
2 changed files with 10 additions and 0 deletions
|
|
@ -18,6 +18,10 @@ perl syntax.pl
|
|||
|
||||
echo "Creating ChangeLog..."
|
||||
git log > $srcdir/ChangeLog
|
||||
if test "$?" -ne 0; then
|
||||
echo "**Error**: ${PKG_NAME} Autogen must be run in a git clone, cannot proceed."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
files=`echo docs/help/in/*.in|sed -e 's,docs/help/in/Makefile.in ,,' -e 's,docs/help/in/,!,g' -e 's/\.in /.in ?/g'`
|
||||
cat docs/help/in/Makefile.am.gen|sed "s/@HELPFILES@/$files/g"|sed 's/?/\\?/g'|tr '!?' '\t\n' > docs/help/in/Makefile.am
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue