2011-10-31 08:00:14 -06:00
|
|
|
|
|
|
|
appmandir = $(APP_MAN_DIR)
|
|
|
|
appman_PRE = startx.man xinit.man
|
|
|
|
appman_DATA = $(appman_PRE:man=$(APP_MAN_SUFFIX))
|
|
|
|
|
|
|
|
EXTRA_DIST = $(appman_PRE)
|
|
|
|
CLEANFILES = $(appman_DATA)
|
|
|
|
SUFFIXES = .$(APP_MAN_SUFFIX) .man
|
|
|
|
|
|
|
|
MAN_SUBSTS+= -e 's|__XSERVERNAME__|$(XSERVERNAME)|g' \
|
|
|
|
-e 's|__XCONFIGFILE__|$(XCONFIGFILE)|g' \
|
|
|
|
-e 's|__XCONFIGFILEMAN__|$(XCONFIGFILEMAN)|g' \
|
|
|
|
-e 's|__xinitdir__|$(XINITDIR)|g' \
|
|
|
|
-e 's|__bindir__|$(bindir)|g' \
|
|
|
|
-e 's|__libdir__|$(libdir)|g' \
|
2013-09-14 03:16:23 -06:00
|
|
|
-e 's|__SCOMAN__|$(SCOMAN)|g' \
|
|
|
|
-e 's|__configdir__|$(XINITDIR)|g'
|
|
|
|
|
2011-10-31 08:00:14 -06:00
|
|
|
|
|
|
|
# String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure
|
|
|
|
.man.$(APP_MAN_SUFFIX):
|
|
|
|
$(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@
|