diff options
author | marha <marha@users.sourceforge.net> | 2010-08-07 14:34:01 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2010-08-07 14:34:01 +0000 |
commit | 9941d1bb9c10232b83e86c4c5df5092e81a12c1b (patch) | |
tree | e8ce3d9af12c74753a8d03707bde27ae16a1e5da /libX11/man/Makefile.am | |
parent | c002a3759f837a569c1c47241923fd03087f0ce7 (diff) | |
parent | 4e3f3e7b8cc2c617187bdf23a9948bfd5121074e (diff) | |
download | vcxsrv-9941d1bb9c10232b83e86c4c5df5092e81a12c1b.tar.gz vcxsrv-9941d1bb9c10232b83e86c4c5df5092e81a12c1b.tar.bz2 vcxsrv-9941d1bb9c10232b83e86c4c5df5092e81a12c1b.zip |
svn merge ^/branches/released .
Diffstat (limited to 'libX11/man/Makefile.am')
-rw-r--r-- | libX11/man/Makefile.am | 24 |
1 files changed, 4 insertions, 20 deletions
diff --git a/libX11/man/Makefile.am b/libX11/man/Makefile.am index eebebdd75..b1bed16c3 100644 --- a/libX11/man/Makefile.am +++ b/libX11/man/Makefile.am @@ -1,6 +1,3 @@ -# Have to fake out automake by calling our man pages "DATA" since "MANS" won't
-# accept .3x as a valid man page suffix
-
SUBDIRS = xkb
libmandir = $(LIB_MAN_DIR)
@@ -198,8 +195,6 @@ filemandir = $(FILE_MAN_DIR) fileman_PRE = Compose.man
FILE_MAN_DIR_SUFFIX = $(FILE_MAN_DIR:@mandir@/man%=%)
-# What we actually install
-
if MANPAGES
libman_DATA = $(libman_PRE:man=@LIB_MAN_SUFFIX@) \
$(all_shadows:=.@LIB_MAN_SUFFIX@)
@@ -212,24 +207,13 @@ EXTRA_DIST = $(libman_PRE) $(fileman_PRE) CLEANFILES = $(libman_DATA) $(fileman_DATA)
-include $(top_srcdir)/cpprules.in
-
-SUFFIXES += .$(LIB_MAN_SUFFIX) .$(FILE_MAN_SUFFIX) .man
-
-XORGRELSTRING = @PACKAGE_STRING@
- XORGMANNAME = X Version 11
-
-MANDEFS = -D__libmansuffix__=$(LIB_MAN_SUFFIX) \
- -D__appmansuffix__=$(APP_MAN_SUFFIX) \
- -D__filemansuffix__=$(FILE_MAN_SUFFIX) \
- -D__miscmansuffix__=$(MISC_MAN_SUFFIX) \
- -D__xlocaledir__="$(X11_LOCALEDATADIR)" \
- -D__xorgversion__="\"$(XORGRELSTRING)\" \"$(XORGMANNAME)\""
+SUFFIXES = .$(LIB_MAN_SUFFIX) .$(FILE_MAN_SUFFIX) .man
-CPP_MAN_FLAGS = $(MANDEFS) $(EXTRAMANDEFS)
+MAN_SUBSTS += -e 's|__xlocaledir__|$(X11_LOCALEDATADIR)|g'
+# String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure
.man.$(LIB_MAN_SUFFIX) .man.$(FILE_MAN_SUFFIX):
- $(AM_V_GEN)$(RAWCPP) $(RAWCPPFLAGS) $(CPP_MAN_FLAGS) < $< | $(CPP_SED_MAGIC) > $@
+ $(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@
# Generate man page shadow files (Replaces InstallManPageAliases from Imake)
all_shadows = \
|