about summary refs log tree commit diff
path: root/Makefile.am
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2008-11-19T13·19+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2008-11-19T13·19+0000
commit2369b122d19c7a08fc6e38e5a8aab90636ed4132 (patch)
tree28a95d3cd2e41962096ab1b653738f69a089c2f8 /Makefile.am
parent6c2c771af7b1fc35a33e1faf0e4e7b266fe44e79 (diff)
* Install documentation in $(docdir) (i.e. share/doc/nix).
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 5454b55a9c9e..550b9b7c690f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -18,6 +18,8 @@ install-data-local: init-state
 	if ! test -e $(DESTDIR)$(sysconfdir)/nix/nix.conf; then \
 		$(INSTALL_DATA) $(srcdir)/nix.conf.example $(DESTDIR)$(sysconfdir)/nix/nix.conf; \
 	fi
+	$(INSTALL) -d $(DESTDIR)$(docdir)
+	$(INSTALL_DATA) README $(DESTDIR)$(docdir)/
 
 if INIT_STATE