diff --git a/tools/Makefile b/tools/Makefile index f2870d9..c8b5c74 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -33,10 +33,10 @@ distclean: clean $(RM) -- $(TARGETS) install: $(TARGETS) - $(MKDIR) $(DESTDIR)$(PREFIX)/bin - $(INSTALL) -m 0755 ldd $(DESTDIR)$(PREFIX)/bin/ldd + $(MKDIR) $(DESTDIR)$(BINDIR) + $(INSTALL) -m 0755 ldd $(DESTDIR)$(BINDIR)/ldd uninstall: - $(RM) -- $(DESTDIR)$(PREFIX)/bin/ldd + $(RM) -- $(DESTDIR)$(BINDIR)/ldd .PHONY: all clean distclean install uninstall diff --git a/tools/project.conf b/tools/project.conf index ad8e823..e00fdfc 100644 --- a/tools/project.conf +++ b/tools/project.conf @@ -6,7 +6,7 @@ dist=Makefile,elf.c [ldd] type=binary sources=ldd.c -install=$(PREFIX)/bin +install=$(BINDIR) [ldd.c] depends=elf.c