From 908d5655d23aad62947910993cb2fe6ab431b1d7 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Sun, 19 Aug 2012 09:56:57 +0100 Subject: [PATCH] add riscos zip build target --- riscos/Makefile.target | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/riscos/Makefile.target b/riscos/Makefile.target index 1fb861e47..9e8240646 100644 --- a/riscos/Makefile.target +++ b/riscos/Makefile.target @@ -100,3 +100,17 @@ clean-run: $(VQ)echo " CLEAN: !NetSurf/!Run$(RUNEXT)" $(Q) $(RM) !NetSurf/!Run$(RUNEXT) CLEANS += clean-run + +# ---------------------------------------------------------------------------- +# Install target +# ---------------------------------------------------------------------------- + +install-riscos: netsurf.zip + +netsurf.zip: $(EXETARGET) + TMPDIR:=$(shell mktemp -d) + $(Q) $(RM) $@ + rsync --archive --verbose $(CURDIR)/!NetSurf $(TMPDIR) + mv $(TMPDIR)/!NetSurf/ReadMe $(TMPDIR) + $(shell cd $(TMPDIR) && /opt/netsurf/arm-unknown-riscos/env/bin/zip -9vr, $(CURDIR)/$@ *) + $(Q) $(RM) $(TMPDIR)