summaryrefslogtreecommitdiff
path: root/man/Makefile.am
blob: 4ff6bc7db686fabb37994e8bcb89e8b5befe3ce7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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'

SUFFIXES = .1 .man

.man.1:
	$(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@

EXTRA_DIST = weston.man

CLEANFILES = $(man_MANS)