1 2 3 4 5
fsmgr := $(shell which fsmgr) sudo := $(shell [ "$$(id -u)" = 0 ] || echo sudo) all: $(sudo) $(fsmgr) build samizdat