hardcoding sbin

Michael Biebl mbiebl at gmail.com
Wed Mar 7 01:13:36 PST 2007


2007/3/7, Richard Hughes <hughsient at gmail.com>:
> In the tools/Makefile.am we have:
>
> if HAVE_UMOUNT_HAL
> slashsbindir = /sbin
> slashsbin_PROGRAMS = umount.hal
>
> umount_hal_SOURCES = umount-hal.c
> umount_hal_LDADD = @DBUS_LIBS@ $(top_builddir)/libhal/libhal.la
> $(top_builddir)/libhal-storage/libhal-storage.la
> endif
>
> Which breaks completely if we are building to a prefix.
>
> Is there an equivalent to sbin_PROGRAMS for /sbin?
>

Why not simply install it into /usr/sbin? As it needs hal anyways
(which requires /usr being mounted), I don't see the point of
installing it into /sbin.

Cheers,
Michael


More information about the hal mailing list