* Install documentation in $(docdir) (i.e. share/doc/nix).
This commit is contained in:
parent
6c2c771af7
commit
2369b122d1
3 changed files with 13 additions and 10 deletions
|
@ -18,6 +18,8 @@ install-data-local: init-state
|
||||||
if ! test -e $(DESTDIR)$(sysconfdir)/nix/nix.conf; then \
|
if ! test -e $(DESTDIR)$(sysconfdir)/nix/nix.conf; then \
|
||||||
$(INSTALL_DATA) $(srcdir)/nix.conf.example $(DESTDIR)$(sysconfdir)/nix/nix.conf; \
|
$(INSTALL_DATA) $(srcdir)/nix.conf.example $(DESTDIR)$(sysconfdir)/nix/nix.conf; \
|
||||||
fi
|
fi
|
||||||
|
$(INSTALL) -d $(DESTDIR)$(docdir)
|
||||||
|
$(INSTALL_DATA) README $(DESTDIR)$(docdir)/
|
||||||
|
|
||||||
if INIT_STATE
|
if INIT_STATE
|
||||||
|
|
||||||
|
|
9
README
9
README
|
@ -1,9 +1,10 @@
|
||||||
For installation and usage instructions, please read the manual, which
|
Nix is a purely functional package manager. For installation and
|
||||||
can be found in `docs/manual/manual.html', and additionally at the Nix
|
usage instructions, please read the manual, which can be found in
|
||||||
website at <http://nixos.org/>.
|
`docs/manual/manual.html', and additionally at the Nix website at
|
||||||
|
<http://nixos.org/>.
|
||||||
|
|
||||||
|
|
||||||
Acknowledgments
|
Acknowledgments
|
||||||
|
|
||||||
This product includes software developed by the OpenSSL Project for
|
This product includes software developed by the OpenSSL Project for
|
||||||
use in the OpenSSL Toolkit (http://www.OpenSSL.org/)
|
use in the OpenSSL Toolkit (http://www.OpenSSL.org/).
|
||||||
|
|
|
@ -75,12 +75,12 @@ NEWS.txt: release-notes.xml
|
||||||
all-local: manual.html NEWS.html NEWS.txt
|
all-local: manual.html NEWS.html NEWS.txt
|
||||||
|
|
||||||
install-data-local: manual.html
|
install-data-local: manual.html
|
||||||
$(INSTALL) -d $(DESTDIR)$(datadir)/nix/manual
|
$(INSTALL) -d $(DESTDIR)$(docdir)/manual
|
||||||
$(INSTALL_DATA) manual.html $(DESTDIR)$(datadir)/nix/manual
|
$(INSTALL_DATA) manual.html $(DESTDIR)$(docdir)/manual
|
||||||
$(INSTALL_DATA) style.css $(DESTDIR)$(datadir)/nix/manual
|
$(INSTALL_DATA) style.css $(DESTDIR)$(docdir)/manual
|
||||||
cp -r images $(DESTDIR)$(datadir)/nix/manual/images
|
cp -r images $(DESTDIR)$(docdir)/manual/images
|
||||||
$(INSTALL) -d $(DESTDIR)$(datadir)/nix/manual/figures
|
$(INSTALL) -d $(DESTDIR)$(docdir)/manual/figures
|
||||||
$(INSTALL_DATA) $(FIGURES) $(DESTDIR)$(datadir)/nix/manual/figures
|
$(INSTALL_DATA) $(FIGURES) $(DESTDIR)$(docdir)/manual/figures
|
||||||
|
|
||||||
images:
|
images:
|
||||||
mkdir images
|
mkdir images
|
||||||
|
|
Loading…
Reference in a new issue