2013-01-18 21:44:29 +04:00
|
|
|
man_MANS = weston.1 weston.ini.5
|
2012-08-29 16:49:48 +04:00
|
|
|
|
2012-11-27 18:54:08 +04:00
|
|
|
if ENABLE_DRM_COMPOSITOR
|
|
|
|
man_MANS += weston-drm.7
|
|
|
|
endif
|
|
|
|
|
2012-08-29 16:49:48 +04:00
|
|
|
MAN_SUBSTS = \
|
2012-11-07 14:25:12 +04:00
|
|
|
-e 's|__weston_native_backend__|$(WESTON_NATIVE_BACKEND)|g' \
|
2012-08-29 16:49:48 +04:00
|
|
|
-e 's|__weston_modules_dir__|$(pkglibdir)|g' \
|
2013-12-02 15:53:32 +04:00
|
|
|
-e 's|__weston_shell_client__|$(WESTON_SHELL_CLIENT)|g' \
|
2012-08-29 16:49:48 +04:00
|
|
|
-e 's|__version__|$(PACKAGE_VERSION)|g'
|
|
|
|
|
2013-01-18 21:44:29 +04:00
|
|
|
SUFFIXES = .1 .5 .7 .man
|
2012-08-29 16:49:48 +04:00
|
|
|
|
|
|
|
.man.1:
|
|
|
|
$(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@
|
|
|
|
|
2013-01-18 21:44:29 +04:00
|
|
|
.man.5:
|
|
|
|
$(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@
|
|
|
|
|
2012-11-27 18:54:08 +04:00
|
|
|
.man.7:
|
|
|
|
$(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@
|
|
|
|
|
2013-01-18 21:44:29 +04:00
|
|
|
EXTRA_DIST = weston.man weston-drm.man weston.ini.man
|
2012-10-16 05:10:10 +04:00
|
|
|
|
|
|
|
CLEANFILES = $(man_MANS)
|