On Mon, Jul 10, 2000 at 08:39:32PM +0200, Stefan van der Eijk wrote:

> Does this sound familiar? I'm having troubles with manpages
> and the %makeinstall macro's. Quite often the manpages
> get dumped into $RPMBUILD/usr/man instead of the
> $RPMBUILD/usr/man/man1 (for instance) directory they should
> be in...
> 
> /usr/bin/install -c -m 644 urlview.man
> /var/tmp/urlview-root/usr/man/man1/urlview.1
> /usr/bin/install: cannot create regular file
> `/var/tmp/urlview-root/usr/man/man1/urlview.1': No such file or
> directory
> make: *** [install-data-local] Error 1
> Bad exit status from /var/tmp/rpm-tmp.48611 (%install)
> 
> Do we agree that this requires extra hacking in the
> .spec file to solve this? Is there a standard way (in
> a macro perhaps) that this can be solved?

Why don't you try throwing:

mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1

in there first and see what happens before you try to install it?

-- 
[EMAIL PROTECTED], OpenPGP key available on www.keyserver.net
Freezer Burn BBS:  telnet://bbs.freezer-burn.org . ICQ: 54924721
Webmaster for the Linux Portal Site Freezer Burn:  http://www.freezer-burn.org

Current Linux uptime: 22 hours 38 minutes.

Reply via email to