From: Sebastien Bourdeauducq Date: Wed, 8 Feb 2012 14:09:07 +0000 (+0100) Subject: tools: use install and /usr/local (as suggested by David Kuehling) X-Git-Tag: 24jan2021_ls180~3246 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0654bf45833f20d0214ee8cd0fbacf6774c01b80;p=litex.git tools: use install and /usr/local (as suggested by David Kuehling) --- diff --git a/tools/Makefile b/tools/Makefile index 3c1e3079..a880230b 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -7,8 +7,8 @@ all: $(TARGETS) $(CC) -O2 -Wall -I. -s -o $@ $< install: mkmmimg flterm - cp mkmmimg /usr/bin - cp flterm /usr/bin + install -d /usr/local/bin + install -m755 -t /usr/local/bin $^ .PHONY: clean install