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
|