about summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/manual/Makefile.am6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/manual/Makefile.am b/doc/manual/Makefile.am
index 46c79ae3b899..749eb07c67aa 100644
--- a/doc/manual/Makefile.am
+++ b/doc/manual/Makefile.am
@@ -26,9 +26,9 @@ book.html: $(SOURCES) book.is-valid
 all-local: book.html
 
 install-data-local: book.html
-	$(INSTALL) -d $(datadir)/nix/manual
-	$(INSTALL_DATA) book.html $(datadir)/nix/manual
-	$(INSTALL_DATA) style.css $(datadir)/nix/manual
+	$(INSTALL) -d $(DESTDIR)$(datadir)/nix/manual
+	$(INSTALL_DATA) book.html $(DESTDIR)$(datadir)/nix/manual
+	$(INSTALL_DATA) style.css $(DESTDIR)$(datadir)/nix/manual
 
 EXTRA_DIST = $(SOURCES) book.html book.is-valid $(MANS)