This commit is contained in:
Eric Coissac
2025-03-01 18:25:43 +01:00
parent 988c32fe88
commit 6822901872

View File

@ -32,15 +32,8 @@ include $(CFGDIR)targets/help.targ
.PHONY: extract install
all:: install
extract: $(PKGDIR)
$(PKGDIR): $(PKGTAR)
test -d $(PKGDIR) || mkdir $(PKGDIR)
test -d $(PKGDIR)/bin || $(TAR) zxf $(PKGTAR) -C $(PKGDIR) --strip-components 1
install: extract
test -d $(BINDIR) || mkdir $(BINDIR)
cd $(PKGDIR)/bin && \cp -f $(PROGS) $(BINPATH)
clean::