Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Jul 2005 19:10:59 -0500
From:      Paul Schmehl <pauls@utdallas.edu>
To:        ports@freebsd.org
Subject:   Fixing up man pages
Message-ID:  <E6D983675FE91A2A73A73A10@Paul-Schmehls-Computer.local>

next in thread | raw e-mail | index | archive | help
I'm working on updating the x11-toolkits/iwidgets port, and I've run into a 
problem.  The man pages install fine, but they aren't formatted correctly.

In the Makefile for the source, there is a section that deals with the man 
pages like this:

@cd $(TOP_DIR)/doc; for i in *.n; \
            do \
            rm -f $(MAN_INSTALL_DIR)/`basename $$i`; \
            rm -f $(MAN_INSTALL_DIR)/`basename iwidgets_$$i`; \
            sed -e '/man\.macros/r man.macros' -e '/man\.macros/d' \
                $$i > $(MAN_INSTALL_DIR)/`basename iwidgets_$$i`; \
            chmod 444 $(MAN_INSTALL_DIR)/`basename iwidgets_$$i`; \
            done;

How can I incorporate this into the port Makefile so that the man pages 
will be properly formatted?

Paul Schmehl (pauls@utdallas.edu)
Adjunct Information Security Officer
University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E6D983675FE91A2A73A73A10>