forked from storaged-project/udisks
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: Migrate from intltool to gettext
Drop the outdated intltool dependency, prefer recent gettext. Also drop the deprecated gnome-common dependency. https://wiki.gnome.org/Initiatives/GnomeGoals/GettextMigration https://wiki.gnome.org/Projects/GnomeCommon/Migration storaged-project#629
- Loading branch information
Showing
22 changed files
with
234 additions
and
137 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,33 @@ | ||
#!/bin/sh | ||
# Run this to generate all the initial makefiles, etc. | ||
test -n "$srcdir" || srcdir=$(dirname "$0") | ||
test -n "$srcdir" || srcdir=. | ||
|
||
srcdir=`dirname $0` | ||
test -z "$srcdir" && srcdir=. | ||
olddir=$(pwd) | ||
|
||
(test -f $srcdir/src/Makefile.am) || { | ||
cd "$srcdir" | ||
|
||
(test -f configure.ac) || { | ||
echo -n "**Error**: Directory "\`$srcdir\'" does not look like the" | ||
echo " top-level $PKG_NAME directory" | ||
echo " top-level project directory" | ||
exit 1 | ||
} | ||
|
||
which gnome-autogen.sh || { | ||
echo "You need to install gnome-common" | ||
exit 1 | ||
} | ||
PKG_NAME=$(autoconf --trace 'AC_INIT:$1' configure.ac) | ||
|
||
gtkdocize --copy || exit 1 | ||
autoreconf --verbose --force --install || exit 1 | ||
|
||
cd "$olddir" | ||
|
||
if [ "$NOCONFIGURE" = "" ]; then | ||
$srcdir/configure --enable-gtk-doc "$@" || exit 1 | ||
|
||
. gnome-autogen.sh --enable-gtk-doc "$@" | ||
if [ "$1" = "--help" ]; then | ||
exit 0 | ||
else | ||
echo "Now type 'make' to compile $PKG_NAME" || exit 1 | ||
fi | ||
else | ||
echo "Skipping configure process." | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.