diff options
author | Matthew Peveler <matt.peveler@gmail.com> | 2021-12-24 16:25:41 -0500 |
---|---|---|
committer | Matthew Peveler <matt.peveler@gmail.com> | 2021-12-24 16:25:41 -0500 |
commit | caa548de3396f5b3dbb39191777d932236ca1a79 (patch) | |
tree | cf548a62aa3920ff96b8d7ad9cf3e0f25e50cb32 | |
parent | 9bb083349e66a6b7195675b04e9adb2d6e21093f (diff) | |
download | asciidoc-git-caa548de3396f5b3dbb39191777d932236ca1a79.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.in | 6 |
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 |