[opkg-utils] fix install fail problem

Thanks for khorben's patch :-)
 https://docs.openmoko.org/trac/attachment/ticket/2072/patch-opkg-utils_Makefile_install_path.diff
This commit is contained in:
Tick Chen
2008-11-03 03:59:59 +00:00
parent 85409083af
commit 002d29bc60

View File

@@ -4,7 +4,7 @@ UTILS = opkg-build opkg-unbuild opkg-compare-versions opkg-make-index opkg.py \
DESTDIR=
PREFIX=/usr/local
bindir=${prefix}/bin
bindir=$(PREFIX)/bin
all: opkg-compare-versions
@@ -13,7 +13,7 @@ opkg-compare-versions: opkg-compare-versions.c
install: opkg-compare-versions
install -d $(DESTDIR)$(bindir)
install -m 744 $(UTILS) $(DESTDIR)$(bindir)
install -m 755 $(UTILS) $(DESTDIR)$(bindir)
clean:
rm -rf opkg-compare-versions