Work around lack of autogen.sh in tarballs
Sigh.
This commit is contained in:
parent
9828e37c12
commit
0fa4f607f2
@ -69,6 +69,16 @@ Libraries and headers for gobject-introspection
|
|||||||
%build
|
%build
|
||||||
# I'm getting autotools breakage due to
|
# I'm getting autotools breakage due to
|
||||||
# timestamps; let's just always do "real" builds.
|
# timestamps; let's just always do "real" builds.
|
||||||
|
# DELETEME: https://git.gnome.org/browse/gobject-introspection/commit/?id=f7b2e1c5e948bfabb7c51eb73d42689bced6cb79
|
||||||
|
if ! test -f autogen.sh; then
|
||||||
|
cat >autogen.sh <<EOF
|
||||||
|
#!/bin/bash
|
||||||
|
set -xeuo pipefail
|
||||||
|
gtkdocize --flavour no-tmpl
|
||||||
|
autoreconf --force --install --verbose
|
||||||
|
EOF
|
||||||
|
fi
|
||||||
|
chmod a+x autogen.sh
|
||||||
rm -f configure
|
rm -f configure
|
||||||
(if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi;)
|
(if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi;)
|
||||||
%configure --enable-gtk-doc --enable-doctool
|
%configure --enable-gtk-doc --enable-doctool
|
||||||
|
Loading…
Reference in New Issue
Block a user