From 767b94478047b763e51f01444bd9caa3a5e26b00 Mon Sep 17 00:00:00 2001 From: Arvid Norlander Date: Thu, 29 Sep 2022 17:47:12 +0200 Subject: [PATCH] Build system: Fix install target --- makefile | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/makefile b/makefile index 2b484f6..c70d388 100644 --- a/makefile +++ b/makefile @@ -63,13 +63,14 @@ lint: (cd comm; make CF='$(CF)' lint) install: - cp macunpack/macunpack $(BINDIR)/. - cp hexbin/hexbin $(BINDIR)/. - cp mixed/macsave $(BINDIR)/. - cp mixed/macstream $(BINDIR)/. - cp binhex/binhex $(BINDIR)/. - cp comm/tomac $(BINDIR)/. - cp comm/frommac $(BINDIR)/. + mkdir -p "$(BINDIR)" + install macunpack/macunpack "$(BINDIR)/." + install hexbin/hexbin "$(BINDIR)/." + install mixed/macsave "$(BINDIR)/." + install mixed/macstream "$(BINDIR)/." + install binhex/binhex "$(BINDIR)/." + install comm/tomac "$(BINDIR)/." + install comm/frommac "$(BINDIR)/." distr: shar -a README makefile crc util fileio macunpack hexbin mixed binhex \