File: Makefile.am

package info (click to toggle)
xinit 1.4.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,108 kB
  • sloc: sh: 4,378; ansic: 871; cpp: 484; makefile: 126
file content (21 lines) | stat: -rw-r--r-- 645 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

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' \
		-e 's|__configdir__|$(XINITDIR)|g'


# String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure
.man.$(APP_MAN_SUFFIX):
	$(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@