diff options
| author | Russ White <russ@riw.us> | 2018-05-12 06:23:03 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-05-12 06:23:03 -0400 |
| commit | 6b50b12ac75d635e78bee46d40bca936d03d1bc8 (patch) | |
| tree | 10a0faa2f2796a3b37e0394cd48cad0156887256 /doc/manpages | |
| parent | 71ef4ee49a54ba651f0aaf27d3197ca6d617fafd (diff) | |
| parent | 524ada7f2356a4f6cba31f07a75896681be105bc (diff) | |
Merge pull request #2162 from qlyoung/fix-vpath-build
doc: support VPATH builds
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. |
