Skip to content

Commit b72673f

Browse files
committed
Makefile: allow custom base path to install
for example, `make DESTDIR=/usr install`. Signed-off-by: Wei Fu <[email protected]>
1 parent 36e4c8e commit b72673f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
ROOTDIR=$(dir $(abspath $(lastword $(MAKEFILE_LIST))))
1818

1919
# Base path used to install.
20-
DESTDIR=/usr/local
20+
DESTDIR ?= /usr/local
2121

2222
# Used to populate variables in version package.
2323
VERSION=$(shell git describe --match 'v[0-9]*' --dirty='.m' --always)

0 commit comments

Comments
 (0)