commit: e5b0d7a50342e36ce038dbb39601519e453c2813
parent aef4f11259fb8c70a1b5f62abed7bba6c853cc28
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Wed, 24 Jul 2024 16:02:34 +0200
Makefile: fix lack of DESTDIR on mkdir calls
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
@@ -14,7 +14,7 @@ clean:
.PHONY: install
install: openpt
- mkdir -p ${BINDIR}/
+ mkdir -p ${DESTDIR}${BINDIR}/
cp -p openpt ${DESTDIR}/${BINDIR}/openpt
- mkdir -p ${MANDIR}/man1/
+ mkdir -p ${DESTDIR}${MANDIR}/man1/
cp -p openpt.1 ${DESTDIR}/${MANDIR}/man1/openpt.1