summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Peveler <matt.peveler@gmail.com>2021-12-24 16:25:41 -0500
committerMatthew Peveler <matt.peveler@gmail.com>2021-12-24 16:25:41 -0500
commitcaa548de3396f5b3dbb39191777d932236ca1a79 (patch)
treecf548a62aa3920ff96b8d7ad9cf3e0f25e50cb32
parent9bb083349e66a6b7195675b04e9adb2d6e21093f (diff)
downloadasciidoc-py3-mpeveler/chore-make-install.tar.gz
Pass DESTDIR to pip in make installmpeveler/chore-make-install
Signed-off-by: Matthew Peveler <matt.peveler@gmail.com>
-rw-r--r--Makefile.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index 153a8d1..8b1da62 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -22,7 +22,7 @@ datadir = @datadir@
docdir = @docdir@
sysconfdir = @sysconfdir@
datarootdir = @datarootdir@
-mandir=@mandir@
+mandir = @mandir@
srcdir = @srcdir@
VPATH = @srcdir@
@@ -38,6 +38,8 @@ doc = $(wildcard README*) $(wildcard BUGS*) $(wildcard INSTALL*) $(wildcard CHAN
TARGETS = doc
+DESTDIR ?= /
+
INSTDIRS = $(TARGETS:%=%dir)
.PHONY: $(TARGETS)
@@ -86,7 +88,7 @@ doc_spell:
.PHONY: pip
pip:
- python3 -m pip install .
+ python3 -m pip install --root $(DESTDIR) .
## install: install asciidoc to target directory
.PHONY: install