mirror of
https://gitlab.gnome.org/GNOME/gparted
synced 2024-10-29 23:08:41 +00:00
3ce3683df5
Use of PKG_NAME is deprecated in GNOME 3 and produced this warning: $ ./autogen.sh /usr/bin/gnome-autogen.sh /usr/bin/yelp-build ***Warning*** PKG_NAME is deprecated, you may remove it from autogen.sh ... Now that GParted is a GNOME 3 application with GNOME 3 yelp-tools managed documentation this is redundant and can be removed. Previous further analysis: GNOME Bugzilla, Bug 743318, comment 18 https://bugzilla.gnome.org/show_bug.cgi?id=743318#c18 " PKG_NAME is still used in GNOME 2.28's gnome-autogen.sh in error messages. (GNOME 3's gnome-autogen.sh queries it from configure.ac instead of requiring it to be set). " Also confirmed that it makes no difference by running ./autogen.sh with and without PKG_NAME being set. The produced GParted build trees were the same. Therefore the release and executable can't be affected.
32 lines
807 B
Bash
Executable file
32 lines
807 B
Bash
Executable file
#!/bin/sh
|
|
# autogen.sh - Run this to generate all the initial makefiles, etc.
|
|
#
|
|
# Copyright (C) 2004 Bart 'plors' Hakvoort
|
|
# Copyright (C) 2008 Curtis Gedak
|
|
#
|
|
# Copying and distribution of this file, with or without modification,
|
|
# are permitted in any medium without royalty provided the copyright
|
|
# notice and this notice are preserved. This file is offered as-is,
|
|
# without any warranty.
|
|
|
|
|
|
srcdir=`dirname $0`
|
|
test -z "$srcdir" && srcdir=.
|
|
|
|
which gnome-autogen.sh || {
|
|
echo "You need to install gnome-common"
|
|
exit 1
|
|
}
|
|
|
|
# Ensure that m4 directory exists
|
|
if ! test -d $srcdir/m4; then
|
|
mkdir $srcdir/m4
|
|
fi
|
|
|
|
which yelp-build || {
|
|
echo "ERROR: Command 'yelp-build' not found"
|
|
echo "ERROR: Package 'yelp-tools' needs to be installed"
|
|
exit 1
|
|
}
|
|
|
|
REQUIRED_AUTOMAKE_VERSION=1.9 . gnome-autogen.sh
|