Date: Sat, 30 Jul 2005 11:26:05 +0200 From: Roman Neuhauser <neuhauser@sigpipe.cz> To: Paul Schmehl <pauls@utdallas.edu> Cc: ports@freebsd.org Subject: Re: Fixing up man pages Message-ID: <20050730092605.GB79432@isis.sigpipe.cz> In-Reply-To: <E6D983675FE91A2A73A73A10@Paul-Schmehls-Computer.local> References: <E6D983675FE91A2A73A73A10@Paul-Schmehls-Computer.local>
next in thread | previous in thread | raw e-mail | index | archive | help
# pauls@utdallas.edu / 2005-07-29 19:10:59 -0500: > 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. What does "formatted correctly" mean? Can you paste the output, and what you want it to look like instead? > 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? The only "formatting" this does is replace the first occurrence of "man.macros" on any line with the contents of $(TOP_DIR)/doc/man.macros. Is that's what you mean? -- How many Vietnam vets does it take to screw in a light bulb? You don't know, man. You don't KNOW. Cause you weren't THERE. http://bash.org/?255991
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050730092605.GB79432>