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
commitc80c86499b3e47bcba68960bcba1bd33d9394fc5 (patch)
treed360a39368d6a83c65389de01c38bb977b8ab347 /Makefile.am
parent9ea60417e477a333ff0fb6074032e8e7006c7f5b (diff)
downloadxdpyinfo-c80c86499b3e47bcba68960bcba1bd33d9394fc5.tar.gz
xdpyinfo-c80c86499b3e47bcba68960bcba1bd33d9394fc5.tar.bz2
xdpyinfo-c80c86499b3e47bcba68960bcba1bd33d9394fc5.zip
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 1039f5e..31285a5 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -19,6 +19,7 @@
# TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
+SUBDIRS = man
bin_PROGRAMS = xdpyinfo
AM_CFLAGS = \
@@ -53,17 +54,7 @@ xdpyinfo_LDADD = \
xdpyinfo_SOURCES = \
xdpyinfo.c
-appman_PRE = \
- xdpyinfo.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
@@ -75,12 +66,6 @@ ChangeLog:
dist-hook: ChangeLog INSTALL
-# String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure
-SUFFIXES = .$(APP_MAN_SUFFIX) .man
-
-.man.$(APP_MAN_SUFFIX):
- $(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@
-
if LINT
ALL_LINT_FLAGS=$(LINT_FLAGS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
$(AM_CPPFLAGS) $(CPPFLAGS)