Use $(BINDIR) instead of $(PREFIX)/bin

This commit is contained in:
Pierre Pronchery 2014-04-23 18:08:35 +02:00
parent 1ac21b1020
commit 4a97e5301a
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -6,7 +6,7 @@ dist=Makefile,elf.c
[ldd]
type=binary
sources=ldd.c
install=$(PREFIX)/bin
install=$(BINDIR)
[ldd.c]
depends=elf.c