diff options
author | Aron Griffis <agriffis@gentoo.org> | 2001-11-03 17:27:49 +0000 |
---|---|---|
committer | Aron Griffis <agriffis@gentoo.org> | 2001-11-03 17:27:49 +0000 |
commit | 0792060c6dcdef2c0031b54685da36a01871d668 (patch) | |
tree | dbe2e9b6d65fdddffaaf5d7c7fd37b10530be71a /skel.build | |
parent | new version (diff) | |
download | gentoo-2-0792060c6dcdef2c0031b54685da36a01871d668.tar.gz gentoo-2-0792060c6dcdef2c0031b54685da36a01871d668.tar.bz2 gentoo-2-0792060c6dcdef2c0031b54685da36a01871d668.zip |
Minor changes regarding mandir and infodir
Diffstat (limited to 'skel.build')
-rw-r--r-- | skel.build | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/skel.build b/skel.build index dc6a24044fb6..56a2e3be2e8b 100644 --- a/skel.build +++ b/skel.build @@ -1,7 +1,7 @@ # Copyright 1999-2001 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author First Last <your email> -# $Header: /var/cvsroot/gentoo-x86/skel.build,v 1.9 2001/10/21 16:17:12 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/skel.build,v 1.10 2001/11/03 17:27:49 agriffis Exp $ # NOTE: The comments in this file are for instruction and # documentation. They're not meant to appear with your final, @@ -52,7 +52,7 @@ src_compile() { --host=${CHOST} \ --prefix=/usr \ --infodir=/usr/share/info \ - --mandir=/usr/share/man || die + --mandir=/usr/share/man || die "./configure failed" # Note the use of --infodir and --mandir, above. This is to make # this package FHS 2.2-compliant. For more information, see # http://www.pathname.com/fhs/ @@ -72,8 +72,15 @@ src_install () { # understanding the install part of the Makefiles. make DESTDIR=${D} install || die # For Makefiles that don't make proper use of DESTDIR, setting - # prefix is often an alternative. - #make prefix=${D}/usr install || die + # prefix is often an alternative. However if you do this, then + # you also need to specify mandir and infodir, since they were + # passed to ./configure as absolute paths (overriding the prefix + # setting). + #make \ + # prefix=${D}/usr \ + # mandir=${D}/usr/share/man \ + # infodir=${D}/usr/share/info \ + # install || die # Again, verify the Makefiles! We don't want anything falling # outside of ${D}. } |