diff options
-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 |