Make documentation files installable.

This commit is contained in:
Gunnar Beutner 2013-10-11 09:40:51 +02:00
parent f1270bb4fa
commit e92c0b2d20
7 changed files with 60 additions and 6 deletions

View File

@ -172,6 +172,8 @@ components/livestatus/Makefile
components/notification/Makefile
doc/Doxyfile
doc/Makefile
doc/strapdownjs/Makefile
doc/strapdownjs/themes/Makefile
etc/Makefile
etc/icinga/Makefile
etc/icinga2/Makefile

3
doc/.gitignore vendored
View File

@ -1,5 +1,4 @@
Doxyfile
icinga2.html
icinga2-*.html
icinga2.8
.directory
index.html

21
doc/9-vagrant-demo-vm.md Normal file
View File

@ -0,0 +1,21 @@
# <a id="vagrant"></a> Vagrant Demo VM
The Icinga 2 Git repository contains support for Vagrant. In order to build the
Vagrant VM first you will have to check out the Git repository:
$ git clone git://git.icinga.org/icinga2.git
Once you have checked out the Git repository you can build the VM using the
following command:
$ vagrant up
The Vagrant VM is based on CentOS 6.4 and uses the official Icinga 2 RPM
packages from `packages.icinga.org`.
In addition to installing Icinga 2 the Vagrant script also installs the Icinga
1.x Classic UI and the check plugins that are available from the Nagios Plugins
project.
The Classic UI is available at [http://localhost:8080/icinga](http://localhost:8080/icinga).
By default both the username and password are `icingaadmin`.

View File

@ -1,6 +1,7 @@
.PHONY: clean
SUBDIRS = \
strapdownjs
EXTRA_DIST = \
MARKDOWN_FILES = \
1-about.md \
2.0-getting-started.md \
2.1-setting-up-icinga-2.md \
@ -32,10 +33,26 @@ EXTRA_DIST = \
6-advanced-topics.md \
7-migrating-from-icinga-1x.md \
8-differences-between-icinga-1x-and-2.md \
9-vagrant-demo-vm.md
EXTRA_DIST = \
$(MARKDOWN_FILES) \
icinga2.8
CLEANFILES = \
index.html
icinga2docdir = ${docdir}
icinga2doc_DATA =
icinga2doc_DATA = \
index.html \
jquery.min.js \
jquery.toc.min.js \
toc.css \
toc-margin.css \
toc-print.css
index.html: $(MARKDOWN_FILES)
./mkdoc.sh > $@.tmp && mv $@.tmp $@
man8_MANS = \
icinga2.8

View File

@ -0,0 +1,8 @@
SUBDIRS = \
themes
icinga2docdir = ${docdir}/strapdownjs
icinga2doc_DATA = \
strapdown.js \
strapdown.css

View File

@ -0,0 +1,7 @@
icinga2docdir = ${docdir}/strapdownjs/themes
icinga2doc_DATA = \
bootstrap.min.css \
bootstrap-responsive.min.css \
cerulean.min.css \
LICENSE

View File

@ -203,7 +203,6 @@ fi
%files
%defattr(-,root,root)
%doc README AUTHORS ChangeLog COPYING COPYING.Exceptions
%attr(755,-,-) %{_sysconfdir}/init.d/%{name}
%attr(0750,%{icinga_user},%{icinga_group}) %dir %{_sysconfdir}/%{name}/conf.d
%attr(0750,%{icinga_user},%{icinga_group}) %dir %{_sysconfdir}/%{name}/features-available
@ -239,6 +238,7 @@ fi
%files doc
%doc README AUTHORS ChangeLog COPYING COPYING.Exceptions
%doc %{_datadir}/doc/%{name}
%files ido-mysql
%{_libdir}/%{name}/libdb_ido_mysql*