Replace PACKAGE_TARNAME with PACKAGE in pkglibdir and pkgdatadir.
This commit is contained in:
parent
7d5d60f7c8
commit
2311c5caa9
11 changed files with 31 additions and 27 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2012-02-27 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
Replace PACKAGE_TARNAME with PACKAGE in pkglibdir and pkgdatadir.
|
||||||
|
|
||||||
2012-02-27 Vladimir Serbinenko <phcoder@gmail.com>
|
2012-02-27 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* po/POTFILES.in: Regenerated.
|
* po/POTFILES.in: Regenerated.
|
||||||
|
|
|
@ -32,10 +32,10 @@ PACKAGE_VERSION=@PACKAGE_VERSION@
|
||||||
target_cpu=@target_cpu@
|
target_cpu=@target_cpu@
|
||||||
platform=@platform@
|
platform=@platform@
|
||||||
host_os=@host_os@
|
host_os=@host_os@
|
||||||
pkglibdir="${libdir}/${PACKAGE_TARNAME}/${target_cpu}-${platform}"
|
pkglibdir="${libdir}/@PACKAGE@/${target_cpu}-${platform}"
|
||||||
datadir="@datadir@"
|
datadir="@datadir@"
|
||||||
if [ "x$pkgdatadir" = x ]; then
|
if [ "x$pkgdatadir" = x ]; then
|
||||||
pkgdatadir="${datadir}/@PACKAGE_TARNAME@"
|
pkgdatadir="${datadir}/@PACKAGE@"
|
||||||
fi
|
fi
|
||||||
localedir="@datadir@/locale"
|
localedir="@datadir@/locale"
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ bindir="@bindir@"
|
||||||
datarootdir="@datarootdir@"
|
datarootdir="@datarootdir@"
|
||||||
datadir="@datadir@"
|
datadir="@datadir@"
|
||||||
if [ "x$pkgdatadir" = x ]; then
|
if [ "x$pkgdatadir" = x ]; then
|
||||||
pkgdatadir="${datadir}/@PACKAGE_TARNAME@"
|
pkgdatadir="${datadir}/@PACKAGE@"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
grub_mklayout="${bindir}/`echo grub-mklayout | sed ${transform}`"
|
grub_mklayout="${bindir}/`echo grub-mklayout | sed ${transform}`"
|
||||||
|
|
|
@ -32,7 +32,7 @@ PACKAGE_VERSION=@PACKAGE_VERSION@
|
||||||
host_os=@host_os@
|
host_os=@host_os@
|
||||||
datadir="@datadir@"
|
datadir="@datadir@"
|
||||||
if [ "x$pkgdatadir" = x ]; then
|
if [ "x$pkgdatadir" = x ]; then
|
||||||
pkgdatadir="${datadir}/@PACKAGE_TARNAME@"
|
pkgdatadir="${datadir}/@PACKAGE@"
|
||||||
fi
|
fi
|
||||||
grub_cfg=""
|
grub_cfg=""
|
||||||
grub_mkconfig_dir="${sysconfdir}"/grub.d
|
grub_mkconfig_dir="${sysconfdir}"/grub.d
|
||||||
|
|
|
@ -22,7 +22,7 @@ datarootdir="@datarootdir@"
|
||||||
datadir="@datadir@"
|
datadir="@datadir@"
|
||||||
bindir="@bindir@"
|
bindir="@bindir@"
|
||||||
sbindir="@sbindir@"
|
sbindir="@sbindir@"
|
||||||
pkgdatadir="${datadir}/@PACKAGE_TARNAME@"
|
pkgdatadir="${datadir}/@PACKAGE@"
|
||||||
|
|
||||||
if test "x$grub_probe" = x; then
|
if test "x$grub_probe" = x; then
|
||||||
grub_probe="${sbindir}/`echo grub-probe | sed "${transform}"`"
|
grub_probe="${sbindir}/`echo grub-probe | sed "${transform}"`"
|
||||||
|
|
|
@ -31,7 +31,7 @@ host_os=@host_os@
|
||||||
pkglib_DATA="moddep.lst command.lst fs.lst partmap.lst parttool.lst handler.lst video.lst crypto.lst terminal.lst"
|
pkglib_DATA="moddep.lst command.lst fs.lst partmap.lst parttool.lst handler.lst video.lst crypto.lst terminal.lst"
|
||||||
datadir="@datadir@"
|
datadir="@datadir@"
|
||||||
if [ "x$pkgdatadir" = x ]; then
|
if [ "x$pkgdatadir" = x ]; then
|
||||||
pkgdatadir="${datadir}/@PACKAGE_TARNAME@"
|
pkgdatadir="${datadir}/@PACKAGE@"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
self=`basename $0`
|
self=`basename $0`
|
||||||
|
@ -46,13 +46,13 @@ recheck=no
|
||||||
debug=no
|
debug=no
|
||||||
debug_image=
|
debug_image=
|
||||||
subdir=`echo /boot/grub | sed ${transform}`
|
subdir=`echo /boot/grub | sed ${transform}`
|
||||||
pc_dir="${libdir}/${PACKAGE_TARNAME}/i386-pc"
|
pc_dir="${libdir}/@PACKAGE@/i386-pc"
|
||||||
ppc_dir="${libdir}/${PACKAGE_TARNAME}/powerpc-ieee1275"
|
ppc_dir="${libdir}/@PACKAGE@/powerpc-ieee1275"
|
||||||
sparc_dir="${libdir}/${PACKAGE_TARNAME}/sparc64-ieee1275"
|
sparc_dir="${libdir}/@PACKAGE@/sparc64-ieee1275"
|
||||||
i386_ieee1275_dir="${libdir}/${PACKAGE_TARNAME}/i386-ieee1275"
|
i386_ieee1275_dir="${libdir}/@PACKAGE@/i386-ieee1275"
|
||||||
efi32_dir="${libdir}/${PACKAGE_TARNAME}/i386-efi"
|
efi32_dir="${libdir}/@PACKAGE@/i386-efi"
|
||||||
efi64_dir="${libdir}/${PACKAGE_TARNAME}/x86_64-efi"
|
efi64_dir="${libdir}/@PACKAGE@/x86_64-efi"
|
||||||
itanium_dir="${libdir}/${PACKAGE_TARNAME}/ia64-efi"
|
itanium_dir="${libdir}/@PACKAGE@/ia64-efi"
|
||||||
|
|
||||||
. "${pkgdatadir}/grub-mkconfig_lib"
|
. "${pkgdatadir}/grub-mkconfig_lib"
|
||||||
|
|
||||||
|
|
|
@ -31,18 +31,18 @@ PACKAGE_TARNAME=@PACKAGE_TARNAME@
|
||||||
PACKAGE_VERSION=@PACKAGE_VERSION@
|
PACKAGE_VERSION=@PACKAGE_VERSION@
|
||||||
datadir="@datadir@"
|
datadir="@datadir@"
|
||||||
if [ "x$pkgdatadir" = x ]; then
|
if [ "x$pkgdatadir" = x ]; then
|
||||||
pkgdatadir="${datadir}/@PACKAGE_TARNAME@"
|
pkgdatadir="${datadir}/@PACKAGE@"
|
||||||
fi
|
fi
|
||||||
pkglib_DATA="moddep.lst command.lst fs.lst partmap.lst parttool.lst handler.lst video.lst crypto.lst terminal.lst"
|
pkglib_DATA="moddep.lst command.lst fs.lst partmap.lst parttool.lst handler.lst video.lst crypto.lst terminal.lst"
|
||||||
|
|
||||||
self=`basename $0`
|
self=`basename $0`
|
||||||
|
|
||||||
multiboot_dir="${libdir}/${PACKAGE_TARNAME}/i386-multiboot"
|
multiboot_dir="${libdir}/@PACKAGE@/i386-multiboot"
|
||||||
coreboot_dir="${libdir}/${PACKAGE_TARNAME}/i386-coreboot"
|
coreboot_dir="${libdir}/@PACKAGE@/i386-coreboot"
|
||||||
qemu_dir="${libdir}/${PACKAGE_TARNAME}/i386-qemu"
|
qemu_dir="${libdir}/@PACKAGE@/i386-qemu"
|
||||||
pc_dir="${libdir}/${PACKAGE_TARNAME}/i386-pc"
|
pc_dir="${libdir}/@PACKAGE@/i386-pc"
|
||||||
efi32_dir="${libdir}/${PACKAGE_TARNAME}/i386-efi"
|
efi32_dir="${libdir}/@PACKAGE@/i386-efi"
|
||||||
efi64_dir="${libdir}/${PACKAGE_TARNAME}/x86_64-efi"
|
efi64_dir="${libdir}/@PACKAGE@/x86_64-efi"
|
||||||
rom_directory=
|
rom_directory=
|
||||||
override_dir=
|
override_dir=
|
||||||
grub_mkimage="${bindir}/`echo grub-mkimage | sed ${transform}`"
|
grub_mkimage="${bindir}/`echo grub-mkimage | sed ${transform}`"
|
||||||
|
|
|
@ -32,7 +32,7 @@ PACKAGE_VERSION=@PACKAGE_VERSION@
|
||||||
pkglib_DATA="moddep.lst command.lst fs.lst partmap.lst parttool.lst handler.lst video.lst crypto.lst terminal.lst"
|
pkglib_DATA="moddep.lst command.lst fs.lst partmap.lst parttool.lst handler.lst video.lst crypto.lst terminal.lst"
|
||||||
datadir="@datadir@"
|
datadir="@datadir@"
|
||||||
if [ "x$pkgdatadir" = x ]; then
|
if [ "x$pkgdatadir" = x ]; then
|
||||||
pkgdatadir="${datadir}/@PACKAGE_TARNAME@"
|
pkgdatadir="${datadir}/@PACKAGE@"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
self=`basename $0`
|
self=`basename $0`
|
||||||
|
@ -58,7 +58,7 @@ usage () {
|
||||||
printf " -v, --version %s\n" "$(gettext "print the version information and exit")"
|
printf " -v, --version %s\n" "$(gettext "print the version information and exit")"
|
||||||
printf " -o, --output=%-11s%s\n" "$(gettext FILE)" "$(gettext "save output in FILE [required]")"
|
printf " -o, --output=%-11s%s\n" "$(gettext FILE)" "$(gettext "save output in FILE [required]")"
|
||||||
# TRANSLATORS: platform here isn't identifier. It can be translated.
|
# TRANSLATORS: platform here isn't identifier. It can be translated.
|
||||||
dir_msg="$(gettext_printf "use images and modules under DIR [default=%s/<platform>]" "${libdir}/${PACKAGE_TARNAME}")"
|
dir_msg="$(gettext_printf "use images and modules under DIR [default=%s/<platform>]" "${libdir}/@PACKAGE@")"
|
||||||
printf " -d, --directory=%-8s%s\n" \
|
printf " -d, --directory=%-8s%s\n" \
|
||||||
"DIR" "$dir_msg"
|
"DIR" "$dir_msg"
|
||||||
printf " -O, --format=%-11s%s" "$(gettext "FORMAT")" "$(gettext "generate an image in format")"; echo
|
printf " -O, --format=%-11s%s" "$(gettext "FORMAT")" "$(gettext "generate an image in format")"; echo
|
||||||
|
@ -155,7 +155,7 @@ if [ "x$source_directory" = x ] ; then
|
||||||
mips-loongson)
|
mips-loongson)
|
||||||
cpu=mipsel ;;
|
cpu=mipsel ;;
|
||||||
esac
|
esac
|
||||||
source_directory="${libdir}/${PACKAGE_TARNAME}/$cpu-$platform"
|
source_directory="${libdir}/@PACKAGE@/$cpu-$platform"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
. "${source_directory}"/modinfo.sh
|
. "${source_directory}"/modinfo.sh
|
||||||
|
|
|
@ -27,7 +27,7 @@ PACKAGE_VERSION=@PACKAGE_VERSION@
|
||||||
datarootdir="@datarootdir@"
|
datarootdir="@datarootdir@"
|
||||||
datadir="@datadir@"
|
datadir="@datadir@"
|
||||||
if [ "x$pkgdatadir" = x ]; then
|
if [ "x$pkgdatadir" = x ]; then
|
||||||
pkgdatadir="${datadir}/@PACKAGE_TARNAME@"
|
pkgdatadir="${datadir}/@PACKAGE@"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
self=`basename $0`
|
self=`basename $0`
|
||||||
|
|
|
@ -27,7 +27,7 @@ PACKAGE_VERSION=@PACKAGE_VERSION@
|
||||||
datarootdir="@datarootdir@"
|
datarootdir="@datarootdir@"
|
||||||
datadir="@datadir@"
|
datadir="@datadir@"
|
||||||
if [ "x$pkgdatadir" = x ]; then
|
if [ "x$pkgdatadir" = x ]; then
|
||||||
pkgdatadir="${datadir}/@PACKAGE_TARNAME@"
|
pkgdatadir="${datadir}/@PACKAGE@"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
self=`basename $0`
|
self=`basename $0`
|
||||||
|
|
|
@ -29,11 +29,11 @@ PACKAGE_TARNAME=@PACKAGE_TARNAME@
|
||||||
PACKAGE_VERSION=@PACKAGE_VERSION@
|
PACKAGE_VERSION=@PACKAGE_VERSION@
|
||||||
target_cpu=@target_cpu@
|
target_cpu=@target_cpu@
|
||||||
platform=@platform@
|
platform=@platform@
|
||||||
pkglibdir="${libdir}/${PACKAGE_TARNAME}/${target_cpu}-${platform}"
|
pkglibdir="${libdir}/@PACKAGE@/${target_cpu}-${platform}"
|
||||||
datarootdir="@datarootdir@"
|
datarootdir="@datarootdir@"
|
||||||
datadir="@datadir@"
|
datadir="@datadir@"
|
||||||
if [ "x$pkgdatadir" = x ]; then
|
if [ "x$pkgdatadir" = x ]; then
|
||||||
pkgdatadir="${datadir}/@PACKAGE_TARNAME@"
|
pkgdatadir="${datadir}/@PACKAGE@"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
self=`basename $0`
|
self=`basename $0`
|
||||||
|
|
Loading…
Reference in a new issue