Skip to content
Snippets Groups Projects
Commit 71247e64 authored by Marat Radchenko's avatar Marat Radchenko Committed by Pierre-Luc Bacon
Browse files

[PATCH] Improved autogen.sh scripts

1. They do not require bash anymore
2. Added workaround for Debian bug #565663
3. Replaced manual autotools invocations with single autoreconf call
4. Non-zero return status on failure
parent ae6faeab
No related branches found
No related tags found
No related merge requests found
#!/bin/bash #!/bin/sh -e
function autocmd() # Workaround for http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=565663
{ [ ! -e m4 ] && mkdir m4
echo "Running ${1}..."
$* || {
echo "Error running ${1}"
exit 1
}
}
gnome-doc-prepare --force gnome-doc-prepare --force
autoreconf --force --install --verbose -Wall -I m4
autocmd libtoolize --force --copy
autocmd aclocal
autocmd autoheader
autocmd autoconf -f
autocmd automake --add-missing --force-missing --copy -Wall
#!/bin/bash #!/bin/sh -e
function autocmd() # Workaround for http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=565663
{ [ ! -e m4 ] && mkdir m4
echo "Running ${1}..."
$* || {
echo "Error running ${1}"
exit 1
}
}
autocmd libtoolize --force --copy
autocmd aclocal
autocmd autoheader
autocmd autoconf -f
autocmd automake --add-missing --force-missing --copy -Wall
autoreconf --force --install --verbose -Wall -I m4
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment