I find I need the attached patch (attached as it includes tabs) to stop
the man pages and mibs from being installed in /. It could be because I
am using fairly new autotools, but it boils down to Makefile containing

datarootdir     = ${prefix}/share
datadir         = ${datarootdir}
mandir          = ${datarootdir}/man

If datarootdir isn't defined, mandir=/man...

Cheers,

Patrick
Index: Makefile.top
===================================================================
RCS file: /cvsroot/net-snmp/net-snmp/Makefile.top,v
retrieving revision 5.19
diff -u -r5.19 Makefile.top
--- Makefile.top        6 Sep 2005 15:19:59 -0000       5.19
+++ Makefile.top        8 Oct 2005 15:06:41 -0000
@@ -15,6 +15,7 @@
 bindir         = @bindir@
 sbindir                = @sbindir@
 libdir         = @libdir@
+datarootdir    = @datarootdir@
 datadir                = @datadir@
 includedir     = @includedir@/net-snmp
 ucdincludedir  = @includedir@/ucd-snmp

Reply via email to