Fixed prefix handling

This commit is contained in:
Ingo Ruhnke 2010-05-08 17:52:24 +02:00
parent b305d263c5
commit 227bc97ee0
2 changed files with 3 additions and 3 deletions

2
debian/rules vendored
View file

@ -54,7 +54,7 @@ install: build
# Add here commands to install the package into debian/xboxdrv.
# $(MAKE) DESTDIR=$(CURDIR)/debian/xboxdrv install
./install.sh --prefix $(CURDIR)/debian/xboxdrv/
./install.sh --prefix $(CURDIR)/debian/xboxdrv/usr
# Build architecture-independent files here.

View file

@ -36,13 +36,13 @@ while [ $# -gt 0 ]; do
done
if [ -z "$USERMANDIR" ]; then
MANDIR="${PREFIX}/share/man/"
MANDIR="${PREFIX}/share/man"
else
MANDIR="$USERMANDIR"
fi
if [ -z "$USERBINDIR" ]; then
BINDIR="${PREFIX}/bin/"
BINDIR="${PREFIX}/bin"
else
BINDIR="$USERBINDIR"
fi