1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-11-16 23:21:53 +02:00
openwrt-packages/nanoterm/patches/001-change-DISTDIR-to-DESTDIR.patch
Xiangfu Liu 91241193cb [nanoterm] [new package] a terminal for NanoNote
Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
2010-11-14 17:41:38 +08:00

19 lines
606 B
Diff

diff --git a/Makefile b/Makefile
index 08ac50e..8fb6d34 100644
--- a/Makefile
+++ b/Makefile
@@ -12,11 +12,11 @@ distclean: clean
rm -f aclocal.m4 autoconf.h autoconf.mk config.log config.status
install: all
- install -D -m 0755 -s --strip-program=$(STRIP) src/nanoterm $(DISTDIR)$(bindir)/nanoterm
+ install -D -m 0755 -s --strip-program=$(STRIP) src/nanoterm $(DESTDIR)$(bindir)/nanoterm
ipkg:
rm -Rf ipkg-tmp
mkdir -p ipkg-tmp/CONTROL
cp dist/ipkg.control ipkg-tmp/CONTROL/control
- $(MAKE) DISTDIR=ipkg-tmp install
+ $(MAKE) DESTDIR=ipkg-tmp install
ipkg-build -o root -g root ipkg-tmp