devfs
[Top] [All Lists]

Re: Patch for GNUmakefile and rpm.spec

To: Pavel Roskin <proski@xxxxxxx>
Subject: Re: Patch for GNUmakefile and rpm.spec
From: Richard Gooch <rgooch@xxxxxxxxxxxxxxx>
Date: Thu, 22 Nov 2001 22:12:17 -0700
Cc: <devfs@xxxxxxxxxxx>
In-reply-to: <Pine.LNX.4.33.0111090523460.5967-100000@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
References: <Pine.LNX.4.33.0111090523460.5967-100000@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: owner-devfs@xxxxxxxxxxx
Pavel Roskin writes:
> RedHat 7.2 doesn't have /usr/man - it keeps manuals in /usr/share/man.  
> However, manuals are searched in /usr/man as well.  Failure to install
> manuals causes config files not to be installed.
> 
> It's generally a good idea to create directories before installing
> anything to them, especially since supporting PREFIX suggests that
> installing to a clean directory is supported.  Also "install" should be
> preferred over "cp" whenever possible.
> 
> There was no symbolic name for the directory holding devfsd.conf and
> modules.devfs (for the purpose of its creation), so I named it CONFDIR.
> Now it's possible to install devfs into an empty directory.

OK, I've taken some of the ideas from your GNUmakefile patch and
updated the GNUmakefile.

> I also made necessary updates to rpm.spec.  No patches are needed
> anymore (and by the way, devfsd-install-path-patch was missing).
> "make install" can now be trusted (just the path for manuals has to
> be overridden).  Also it's taken into account that the manual pages
> may be compressed - suffixes are allowed in their names.  Finally,
> sanity checks for $RPM_BUILD_ROOT have been eliminated - I don't
> think that any recent version of rpm can "forget" to set it.

OK. I don't know rpm, so I'll just trust you on this. I didn't hear
Bill squawk, so I assume he's OK with this change.
Bill?

> Don't forget to change "version" in rpm.spec when releasing next
> versions.

Well, it's not going to happen manually. I won't remember. However,
I've made it automated via the GNUmakefile. Make is a wonderful thing
:-)

                                Regards,

                                        Richard....
Permanent: rgooch@xxxxxxxxxxxxx
Current:   rgooch@xxxxxxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>