summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorGaetan Nadon <memsize@videotron.ca>2011-01-19 10:06:56 -0500
committerGaetan Nadon <memsize@videotron.ca>2011-01-19 10:06:56 -0500
commit29215ba31a7e173e55e7db73eb4c0040ae82881c (patch)
tree9246d69cb8c100e52e2b58172f81fc7c87e4e8e6 /Makefile.am
parentfc5155aa204cb07aaa3214876b20b02ad3ddcca1 (diff)
config: move man pages into their own directory
Use services provided by XORG_MANPAGE_SECTIONS. Use standard Makefile for man pages. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am12
1 files changed, 1 insertions, 11 deletions
diff --git a/Makefile.am b/Makefile.am
index 2c67d26..be6f2c9 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,3 +1,4 @@
+SUBDIRS = man
bin_PROGRAMS = xhost
xhost_SOURCES = xhost.c
@@ -5,15 +6,7 @@ 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
@@ -25,7 +18,4 @@ ChangeLog:
dist-hook: ChangeLog INSTALL
-SUFFIXES = .$(APP_MAN_SUFFIX) .man
-.man.$(APP_MAN_SUFFIX):
- $(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@