Commit 7b3f2738 authored by Florian Müllner's avatar Florian Müllner

build: Minor updates

 - update autogen.sh according to the gnome-commons template
 - use AX_IS_RELEASE in configure
 - don't conditionalize AM_SILENT_RULES - AM_INIT_AUTOMAKE already
   requests 1.11
 - add 'check-news' to automake flags
parent dfd225f3
#!/bin/sh
# Run this to generate all the initial makefiles, etc.
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
test -n "$srcdir" || srcdir=`dirname "$0"`
test -n "$srcdir" || srcdir=.
(test -f $srcdir/configure.ac \
&& test -d $srcdir/src) || {
echo -n "*** ERROR: Directory "\`$srcdir\'" does not look like the"
echo " top-level polari directory"
olddir=`pwd`
cd $srcdir
(test -f configure.ac) || {
echo "*** ERROR: Directory \`$srcdir' does not look like the" >&2
echo "*** top-level project directory" >&2
exit 1
}
PKG_NAME=`autoconf --trace 'AC_INIT:$1' configure.ac`
olddir=`pwd`
if [ "$#" = 0 -a "x$NOCONFIGURE" = "x" ]; then
echo "*** WARNING: I am going to run \`configure' with no arguments." >&2
echo "*** If you wish to pass any to it, please specify them on the" >&2
echo "*** \`$0' command line." >&2
echo "" >&2
echo >&2
fi
cd $srcdir
aclocal --install || exit 1
intltoolize --force --copy --automake || exit 1
autoreconf --verbose --force --install -Wno-portability || exit 1
......@@ -33,7 +33,7 @@ if [ "$NOCONFIGURE" = "" ]; then
$srcdir/configure "$@" || exit 1
if [ "$1" = "--help" ]; then exit 0 else
echo "Now type \`make' to compile $PKG_NAME" || exit 1
echo "Now type \`make' to compile $PKG_NAME"
fi
else
echo "Skipping configure process."
......
AC_INIT([polari],[3.17.91],[https://bugzilla.gnome.org/enter_bug.cgi?product=polari],[polari])
AX_IS_RELEASE([git-directory])
AC_SUBST([APP_ID],[org.gnome.Polari])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_AUX_DIR([build-aux])
m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
AM_INIT_AUTOMAKE([1.11 check-news dist-xz no-dist-gzip tar-ustar foreign subdir-objects])
AM_INIT_AUTOMAKE([1.11 dist-xz no-dist-gzip tar-ustar foreign subdir-objects])
AM_SILENT_RULES([yes])
AM_MAINTAINER_MODE([enable])
GETTEXT_PACKAGE=AC_PACKAGE_NAME
......@@ -45,12 +46,12 @@ AC_PATH_PROG(DESKTOP_FILE_VALIDATE, desktop-file-validate)
APPSTREAM_XML
AC_CONFIG_FILES([
Makefile
data/Makefile
data/appdata/Makefile
data/icons/Makefile
po/Makefile.in
src/Makefile
Makefile
data/Makefile
data/appdata/Makefile
data/icons/Makefile
po/Makefile.in
src/Makefile
])
AC_OUTPUT
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment