[XFree86] preprocessing manpages, __miscmansuffix__

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am trying to just build and install some documentation and manual pages
without having to do complete builds (like without "make World").

But my man pages are not getting pre-processed. For example, information
like __miscmansuffix__, __projectroot__, and __vendorversion__ are not
replaced.

I read in xc/config/cf/Imake.rules about PreprocessManPages and the
CppManTarget. But I am not sure how they are used.

I tried:
#define PreprocessManPages YES
#define DontPreprocessManPages NO
in a host.def file that I placed at xc/doc/host.def.

I don't want to build imake or any of the binaries (because they are
already installed with their correlating manpages). I just want to install
files like:

lib/X11/doc/DPMS.TXT
lib/X11/doc/PostScript/RELNOTES-X.org.PS
lib/X11/doc/PostScript/shape.PS
man/man3/GLwDrawingAreaSwapBuffers.3x
man/man3/XChangeWindowAttributes.3x
man/man3/XQueryColor.3x
man/man7/X.7
man/man7/Xsecurity.7
et cetera

I do not want to install any man pages related to servers or X clients (no
twm man page for example).

Also, my X, X.org, XConsortium, XProjectTeam, XStandards, and Xsecurity
are defaulting to .7 suffix. I believe this is wrong. On my platform
(Linux) this should be .7x.

This is what I am doing:

extract X430src-1.tgz X430src-6.tgz X430src-7.tgz (but I don't think
X430src-7.tgz is used nor installed only that the "hardcopy" directory is
referenced).

Patch xc/doc/specs/programs/Imakefile so it doesn't reference any
"/programs/" file (so it only does "doc/man/general/" manual pages).

cp host.def to xc/doc; this is:
#define BuildMiscDocs YES
#define BuildSpecsDocs YES
#define BuildLinuxDocPS NO
#define InstallHardcopyDocs YES   <-- this doesn't appear to be used
#define BuildXdoc YES
#define PreprocessManPages YES
#define DontPreprocessManPages NO

cd  xc/doc
        ${IMAKE} -DUseInstalled -I. -I/usr/X11R6/lib/X11/config \
                -DTOPDIR=my/path/to/xc -DCURDIR=.; \
        ${MAKE} Makefiles ; \
        ${MAKE} includes ; \
        ${MAKE} depend


cd xc/doc/man && \
        ${IMAKE} -DUseInstalled -I. -I/usr/X11R6/lib/X11/config \
                -DTOPDIR=my/path/to/xc -DCURDIR=. && \
        ${MAKE} Makefiles && \
        ${MAKE} includes && \
        ${MAKE} depend

cd xc/doc
make all

cd xc/doc
make install.man



Can anyone share some steps on how to get the man pages preprocessed so
directives like __miscmansuffix__, __projectroot__, and __vendorversion__
are replaced correctly?

Thank you,

   Jeremy C. Reed
   http://bsd.isp-faq.com/



_______________________________________________
XFree86 mailing list
XFree86@xxxxxxxxxxx
http://XFree86.Org/mailman/listinfo/xfree86

[Index of Archives]     [X Forum]     [Xorg]     [XFree86 Newbie]     [IETF Announce]     [Security]     [Font Config]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux Kernel]

  Powered by Linux