Browse Source

custom paths

Fix Makefile so that it allows us to install the root in a sane location (which
is needed in Gentoo).
master
Lance Albertson 16 years ago committed by Harald Hoyer
parent
commit
13d942e163
  1. 12
      Makefile

12
Makefile

@ -1,12 +1,12 @@ @@ -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

Loading…
Cancel
Save