aboutsummaryrefslogtreecommitdiff
path: root/apps/xhost/Makefile.am
blob: 2c67d2655d301bef776686ce403a2aa47687cd3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
bin_PROGRAMS = xhost

xhost_SOURCES = xhost.c

AM_CFLAGS = $(CWARNFLAGS) $(XHOST_CFLAGS)
xhost_LDADD = $(XHOST_LIBS)

appman_PRE = xhost.man

appmandir = $(APP_MAN_DIR)

appman_DATA = $(appman_PRE:man=@APP_MAN_SUFFIX@)

EXTRA_DIST = $(appman_PRE) 
MAINTAINERCLEANFILES = ChangeLog INSTALL
CLEANFILES = $(appman_DATA)

.PHONY: ChangeLog INSTALL

INSTALL:
	$(INSTALL_CMD)

ChangeLog:
	$(CHANGELOG_CMD)

dist-hook: ChangeLog INSTALL

SUFFIXES = .$(APP_MAN_SUFFIX) .man

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