diff options
author | Pekka Paalanen <ppaalanen@gmail.com> | 2012-11-07 12:25:12 +0200 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2012-11-08 16:56:25 -0500 |
commit | a51e6fa322a24979ec04d7cdec08d3bdcf279b12 (patch) | |
tree | 74997da2dd640471778c8b48037a51f1a9e559e4 /man | |
parent | f97f811cf3a622f57b7ad098a33c844b9deae050 (diff) |
build: make default backend configurable
Instead of hardcoding drm-backend.so as the default if environment
presents neither Wayland nor X11, have a ./configure option to change
it. It still defaults to drm-backend.so, if not given.
Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
Diffstat (limited to 'man')
-rw-r--r-- | man/Makefile.am | 1 | ||||
-rw-r--r-- | man/weston.man | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/man/Makefile.am b/man/Makefile.am index 71d2073b..4ff6bc7d 100644 --- a/man/Makefile.am +++ b/man/Makefile.am @@ -1,6 +1,7 @@ man_MANS = weston.1 MAN_SUBSTS = \ + -e 's|__weston_native_backend__|$(WESTON_NATIVE_BACKEND)|g' \ -e 's|__weston_modules_dir__|$(pkglibdir)|g' \ -e 's|__version__|$(PACKAGE_VERSION)|g' diff --git a/man/weston.man b/man/weston.man index 7ccfac8d..efb6d2b4 100644 --- a/man/weston.man +++ b/man/weston.man @@ -98,7 +98,7 @@ Load instead of the default backend. The file is searched for in .IR "__weston_modules_dir__" , or you can pass an absolute path. The default backend is -.I drm-backend.so +.I __weston_native_backend__ unless the environment suggests otherwise, see .IR DISPLAY " and " WAYLAND_DISPLAY . .TP |