diff options
| author | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-05-02 14:42:28 -0400 | 
|---|---|---|
| committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-05-02 17:15:31 -0400 | 
| commit | 524ada7f2356a4f6cba31f07a75896681be105bc (patch) | |
| tree | 11079602e49605cbbca67543110425f6a2a2821d /doc/manpages | |
| parent | d90b2b73cb174e781b796d2f9c7a9075e4327a59 (diff) | |
doc: support VPATH builds
Documentation was not fully using Automake / Autoconf and therefore needs
modifications to support black magic VPATH builds.
* Convert Makefile's to Autoconf-controlled Makefile.in's
* Tweak loading of pygments lexer to handle runtime paths
* Update .gitignore's as necessary
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'doc/manpages')
| -rw-r--r-- | doc/manpages/.gitignore | 2 | ||||
| -rw-r--r-- | doc/manpages/Makefile.in (renamed from doc/manpages/Makefile) | 9 | 
2 files changed, 9 insertions, 2 deletions
diff --git a/doc/manpages/.gitignore b/doc/manpages/.gitignore index 0505537159..2e7d8573f1 100644 --- a/doc/manpages/.gitignore +++ b/doc/manpages/.gitignore @@ -1,3 +1,3 @@  /_templates  /_build -!/Makefile +!/Makefile.in diff --git a/doc/manpages/Makefile b/doc/manpages/Makefile.in index ebbbc31009..f28746cee6 100644 --- a/doc/manpages/Makefile +++ b/doc/manpages/Makefile.in @@ -1,4 +1,11 @@ -include ../frr-sphinx.mk +# This is necessary to support VPATH builds. +srcdir = @srcdir@ +VPATH = @srcdir@ + +# This variable is used as the documentation source location in frr-sphinx.mk +SOURCESDIR = @srcdir@ + +include @srcdir@/../frr-sphinx.mk  # -----------------------------------------------------------------------------  # Automake requires that 3rd-party Makefiles recognize these targets.  | 
