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
commit1a25a116e87e8cde709cf1b810ac2371ac485280 (patch)
treef148c6a4be84a52e84b6f07d39d0c000a03c2de5 /Makefile.am
parent75d2575ad02fdff4085df16f1e160be718d7b299 (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.am19
1 files changed, 1 insertions, 18 deletions
diff --git a/Makefile.am b/Makefile.am
index 896ab75..0777dc4 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -21,6 +21,7 @@
AM_YFLAGS = -d
+SUBDIRS = man
bin_PROGRAMS = xgc
AM_CFLAGS = $(CWARNFLAGS) $(XGC_CFLAGS) -D_BSD_SOURCE
@@ -42,9 +43,6 @@ xgc_SOURCES = \
text.c \
xgc.h
-appman_PRE = \
- xgc.man
-
BUILT_SOURCES = gram.h gram.c lex.c
MAINTAINERCLEANFILES = ChangeLog INSTALL
MAINTAINERCLEANFILES += $(BUILT_SOURCES)
@@ -70,21 +68,6 @@ EXTRA_DIST = tile Bugs \
Written/Outline \
Written/Widget
-
-appmandir = $(APP_MAN_DIR)
-
-appman_DATA = $(appman_PRE:man=@APP_MAN_SUFFIX@)
-
-EXTRA_DIST += $(appman_PRE)
-CLEANFILES = $(appman_DATA)
-
-SUFFIXES = .$(APP_MAN_SUFFIX) .man
-
-# String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure
-.man.$(APP_MAN_SUFFIX):
- $(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@
-
-
.PHONY: ChangeLog INSTALL
INSTALL: