diff options
author | Lance Albertson <lance@osuosl.org> | 2009-09-26 21:26:43 -0700 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2009-09-29 19:00:48 +0200 |
commit | 13d942e16320e6ca686a10ee9e8bc047184a2802 (patch) | |
tree | aae6a602b096bef14560ebfc571be80103e0187f /Makefile | |
parent | 99fd62e3bebed1861902915379973020860dbb5f (diff) | |
download | dracut-13d942e16320e6ca686a10ee9e8bc047184a2802.tar.gz dracut-13d942e16320e6ca686a10ee9e8bc047184a2802.tar.bz2 dracut-13d942e16320e6ca686a10ee9e8bc047184a2802.zip |
custom paths
Fix Makefile so that it allows us to install the root in a sane location (which
is needed in Gentoo).
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -1,12 +1,12 @@ VERSION=002 GITVERSION=$(shell [ -d .git ] && git rev-list --abbrev-commit -n 1 HEAD |cut -b 1-8) -prefix = /usr -datadir = ${prefix}/share -pkglibdir = ${datadir}/dracut -sysconfdir = ${prefix}/etc -sbindir = ${prefix}/sbin -mandir = ${prefix}/share/man +prefix ?= /usr +datadir ?= ${prefix}/share +pkglibdir ?= ${datadir}/dracut +sysconfdir ?= ${prefix}/etc +sbindir ?= ${prefix}/sbin +mandir ?= ${prefix}/share/man modules.d/99base/switch_root: switch_root.c gcc -D _GNU_SOURCE -D 'PACKAGE_STRING="dracut"' -std=gnu99 -fsigned-char -g -O2 -o modules.d/99base/switch_root switch_root.c |