summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorGaetan Nadon <memsize@videotron.ca>2011-01-19 10:06:55 -0500
committerGaetan Nadon <memsize@videotron.ca>2011-01-19 10:06:55 -0500
commita18911abb94ef0cfa55282b96027f501a82652a6 (patch)
tree611d13b4b3275292021ef6b812170cf516b4186e /Makefile.am
parent8bc2e5a8888de4d457870986f442b628e4795364 (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.am17
1 files changed, 1 insertions, 16 deletions
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