a/trunk/wharfie/wharfie.mk | b/trunk/wharfie/wharfie.mk | ||
---|---|---|---|
... |
... |
||
26 | SUDO=$(shell PATH=${PATH}:/sbin:/usr/sbin which sudo) |
26 | SUDO=$(shell PATH=${PATH}:/sbin:/usr/sbin which sudo) |
27 | FAKEROOT=$(shell PATH=${PATH}:/sbin:/usr/sbin which fakeroot) |
27 | FAKEROOT=$(shell PATH=${PATH}:/sbin:/usr/sbin which fakeroot) |
28 | FAKECHROOT=$(shell PATH=${PATH}:/sbin:/usr/sbin which fakechroot) |
28 | FAKECHROOT=$(shell PATH=${PATH}:/sbin:/usr/sbin which fakechroot) |
29 | DBOOTSTRAP=$(shell PATH=${PATH}:/sbin:/usr/sbin which qemu-debootstrap) |
29 | DBOOTSTRAP=$(shell PATH=${PATH}:/sbin:/usr/sbin which qemu-debootstrap) |
30 | DBOOTSTRAP2=$(shell PATH=${PATH}:/sbin:/usr/sbin which debootstrap) |
30 | DBOOTSTRAP2=$(shell PATH=${PATH}:/sbin:/usr/sbin which debootstrap) |
31 | KPARTX=$(shell PATH=${PATH}:/sbin:/usr/sbin which kpartx) |
||
31 | PACKAGES=locales systemd |
32 | PACKAGES=locales systemd |
32 | 33 | ||
33 | MAKEFILE_PATH := $(abspath $(lastword $(MAKEFILE_LIST))) |
34 | MAKEFILE_PATH := $(abspath $(lastword $(MAKEFILE_LIST))) |
34 | CWD := $(dir $(MAKEFILE_PATH)) |
35 | CWD := $(dir $(MAKEFILE_PATH)) |
35 | 36 | ||
... |
... |
||
54 | 55 | ||
55 | ifeq (${DBOOTSTRAP2},) |
56 | ifeq (${DBOOTSTRAP2},) |
56 | $(error debootstrap not found. On debian, you may install the package debootstrap first) |
57 | $(error debootstrap not found. On debian, you may install the package debootstrap first) |
57 | endif |
58 | endif |
58 | 59 | ||
60 | ifeq (${KPARTX},) |
||
61 | $(error kpartx not found. On debian, you may install the package kpartx first) |
||
62 | endif |
||
63 | |||
59 | .PHONY: test |
64 | .PHONY: test |
60 | test: |
65 | test: |
61 | echo ${FAKEROOT} |
66 | echo ${FAKEROOT} |
62 | 67 | ||
63 | 68 |