Build with autogen same as rpm.spec.

CVS patchset: 3793
CVS date: 2000/06/01 15:40:30
This commit is contained in:
jbj 2000-06-01 15:40:30 +00:00
parent cf4c7a1fc6
commit 1f297b1c98
1 changed files with 8 additions and 1 deletions

View File

@ -29,7 +29,14 @@ if [ "$1" = "--noconfigure" ]; then
fi
if [ X"$@" = X -a "X`uname -s`" = "XLinux" ]; then
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var "$@"
if [ -d /usr/share/man ]; then
mandir=/usr/share/man
infodir=/usr/share/info
else
mandir=/usr/man
infodir=/usr/info
fi
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --infodir=${infodir} --mandir=${mandir} "$@"
else
./configure "$@"
fi