From a18911abb94ef0cfa55282b96027f501a82652a6 Mon Sep 17 00:00:00 2001 From: Gaetan Nadon Date: Wed, 19 Jan 2011 10:06:55 -0500 Subject: 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 --- Makefile.am | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 7d85683..4b67745 100644 --- a/Makefile.am +++ b/Makefile.am @@ -21,6 +21,7 @@ AUTOMAKE_OPTIONS = foreign +SUBDIRS = man bin_PROGRAMS = xbacklight AM_CFLAGS = $(CWARNFLAGS) $(XRANDR_CFLAGS) @@ -29,23 +30,7 @@ xbacklight_LDADD = $(XRANDR_LIBS) xbacklight_SOURCES = \ xbacklight.c -appman_PRE = \ - xbacklight.man - -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 -- cgit v1.2.3