build manuals moved here from osmo-gsm-manuals.git

Moved to doc/manuals/, with full commit history, in preceding merge commit.
Now incorporate in the build system.

Build with:

$ autoreconf -fi
$ ./configure --enable-manuals
$ make

Shared files from osmo-gsm-manuals.git are found automatically if
- the repository is checked out in ../osmo-gsm-manuals; or
- if it osmo-gsm-manuals was installed with "make install"; or
- OSMO_GSM_MANUALS_DIR is set.

Related: OS#3385
Change-Id: I7d1226d3865da9595b730b716a8d4ba07be1e0d5
This commit is contained in:
Oliver Smith 2018-11-14 10:47:01 +01:00 committed by Neels Hofmeyr
parent 959c1e6862
commit e5c385fbc0
3 changed files with 18 additions and 15 deletions

View File

@ -1,7 +0,0 @@
TOPDIR = ..
ASCIIDOC = osmocombb-usermanual.adoc
ASCIIDOC_DEPS = chapters/*.adoc
include $(TOPDIR)/build/Makefile.asciidoc.inc
include $(TOPDIR)/build/Makefile.common.inc

10
doc/manuals/Makefile.am Normal file
View File

@ -0,0 +1,10 @@
OSMO_GSM_MANUALS_DIR = $(top_srcdir)
EXTRA_DIST = osmocombb-usermanual.adoc \
osmocombb-usermanual-docinfo.xml \
chapters
ASCIIDOC = osmocombb-usermanual.adoc
ASCIIDOC_DEPS = $(srcdir)/chapters/*.adoc
include $(OSMO_GSM_MANUALS_DIR)/build/Makefile.asciidoc.inc
include $(OSMO_GSM_MANUALS_DIR)/build/Makefile.common.inc

View File

@ -3,19 +3,19 @@ OsmocomBB User Manual
Holger Hans Peter Freyther <holger@moiji-mobile.com>
include::../common/chapters/preface.adoc[]
include::./common/chapters/preface.adoc[]
include::chapters/scripting.adoc[]
include::{srcdir}/chapters/scripting.adoc[]
include::../common/chapters/vty.adoc[]
include::./common/chapters/vty.adoc[]
include::../common/chapters/logging.adoc[]
include::./common/chapters/logging.adoc[]
include::../common/chapters/port_numbers.adoc[]
include::./common/chapters/port_numbers.adoc[]
include::../common/chapters/bibliography.adoc[]
include::./common/chapters/bibliography.adoc[]
include::../common/chapters/glossary.adoc[]
include::./common/chapters/glossary.adoc[]
include::../common/chapters/gfdl.adoc[]
include::./common/chapters/gfdl.adoc[]