summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorGaetan Nadon <memsize@videotron.ca>2011-01-19 10:06:57 -0500
committerGaetan Nadon <memsize@videotron.ca>2011-01-19 10:06:57 -0500
commit00c7550444aa1254ca43ba32d4d4e59d02bda56d (patch)
tree4d65570abae8ea0abb28871db4e04d9ed5d70d52 /Makefile.am
parent00ba0d9e527c18b7fe9dda3b17411993bac98c2f (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 c4b2ef8..0180d3f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -19,11 +19,11 @@
# TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
+SUBDIRS = man
bin_PROGRAMS = xsm
SYSTEM_INIT_DIR = $(libdir)/X11/xsm
-
AM_CFLAGS = $(XSM_CFLAGS) $(CWARNFLAGS) -DRSHCMD=\"@RSH@\" \
-DSYSTEM_INIT_FILE=\"$(SYSTEM_INIT_DIR)/system.xsm\"
@@ -63,9 +63,6 @@ xsm_SOURCES = \
xtwatch.c \
xtwatch.h
-appman_PRE = \
- xsm.man
-
# App default files
DISTCHECK_CONFIGURE_FLAGS = --with-appdefaultdir=\$${datadir}/X11/app-defaults
@@ -84,21 +81,7 @@ systeminit_DATA = system.xsm
EXTRA_DIST = system.xsm
-
-appmandir = $(APP_MAN_DIR)
-
-appman_DATA = $(appman_PRE:man=@APP_MAN_SUFFIX@)
-
-EXTRA_DIST += $(appman_PRE)
MAINTAINERCLEANFILES = ChangeLog INSTALL
-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