This is a better place than /usr/lib for a shell library, it is a text
file and can be seen as data rather than as a binary module.
- install -d $(DESTDIR)$(prefix)/lib/kboot/
- install -m 0644 kboot-mkconfig_lib $(DESTDIR)$(prefix)/lib/kboot/kboot-mkconfig_lib
+ install -d $(DESTDIR)$(prefix)/share/kboot/
+ install -m 0644 kboot-mkconfig_lib $(DESTDIR)$(prefix)/share/kboot/kboot-mkconfig_lib
install -d $(DESTDIR)$(prefix)/sbin
install -m 0755 kboot-mkconfig $(DESTDIR)$(prefix)/sbin/kboot-mkconfig
install -d $(DESTDIR)$(sysconfdir)/default
install -d $(DESTDIR)$(prefix)/sbin
install -m 0755 kboot-mkconfig $(DESTDIR)$(prefix)/sbin/kboot-mkconfig
install -d $(DESTDIR)$(sysconfdir)/default
exec_prefix=${prefix}
sbindir=${exec_prefix}/sbin
bindir=${exec_prefix}/bin
exec_prefix=${prefix}
sbindir=${exec_prefix}/sbin
bindir=${exec_prefix}/bin
-libdir=${exec_prefix}/lib
sysconfdir=/etc
host_os=linux-gnu
datarootdir=${prefix}/share
sysconfdir=/etc
host_os=linux-gnu
datarootdir=${prefix}/share
-. ${libdir}/kboot/kboot-mkconfig_lib
+. ${datadir}/kboot/kboot-mkconfig_lib
if [ "x$EUID" = "x" ] ; then
EUID=`id -u`
if [ "x$EUID" = "x" ] ; then
EUID=`id -u`