diff options
| author | Bryce W. Harrington <b.harrington@samsung.com> | 2014-07-21 19:23:49 +0000 |
|---|---|---|
| committer | Pekka Paalanen <pekka.paalanen@collabora.co.uk> | 2014-09-05 11:53:13 +0300 |
| commit | 7af5920031df9981a23bf92cef3445813fa73a2e (patch) | |
| tree | 0f8056ae5edf36f6da4e0cf19f0339ffae4f716f /doc/doxygen | |
| parent | display-test: make use of create_thread function (diff) | |
| download | wayland-7af5920031df9981a23bf92cef3445813fa73a2e.tar wayland-7af5920031df9981a23bf92cef3445813fa73a2e.tar.gz wayland-7af5920031df9981a23bf92cef3445813fa73a2e.tar.bz2 wayland-7af5920031df9981a23bf92cef3445813fa73a2e.tar.lz wayland-7af5920031df9981a23bf92cef3445813fa73a2e.tar.xz wayland-7af5920031df9981a23bf92cef3445813fa73a2e.tar.zst wayland-7af5920031df9981a23bf92cef3445813fa73a2e.zip | |
doc: Quell warnings about missing man3 directory before its been built
The shell command for dist_man3_MANS gets invoked several times during
the make process but before the man pages have been generated, which
causes the following warnings when running `make`:
find: `man/man3': No such file or directory
find: `man/man3': No such file or directory
find: `man/man3': No such file or directory
GEN xml/client/index.xml
Despite these error messages, the generated dist tarball contains the
man3 pages as intended, both before and after this patch.
$ make dist
$ tar xxf wayland-1.5.90.tar.xz
$ find wayland-1.5.90/doc/doxygen/man/man3 -name "wl_*.3" | wc -l
85
Signed-off-by: Bryce Harrington <b.harrington@samsung.com>
Acked-by: Peter Hutterer <peter.hutterer@who-t.net>
Tested-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Diffstat (limited to 'doc/doxygen')
| -rw-r--r-- | doc/doxygen/Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/doxygen/Makefile.am b/doc/doxygen/Makefile.am index de3b31f..83622af 100644 --- a/doc/doxygen/Makefile.am +++ b/doc/doxygen/Makefile.am @@ -20,7 +20,7 @@ scanned_src_files_server = \ # find all man/man3/wl_foo.3 pages # for this to work, we need to create them before the man target (hence # all-local below) -dist_man3_MANS= $(shell find man/man3/ -name "wl_*.3" -printf "man/man3/%P\n") +dist_man3_MANS = $(shell test -d man && find man/man3 -name "wl_*.3" -printf "man/man3/%P\n") xml/client/index.xml: $(scanned_src_files_client) wayland.doxygen $(AM_V_GEN)$(MKDIR_P) xml/client && \ |
