diff options
author | Vincent Sanders <vince@kyllikki.org> | 2012-08-19 09:56:57 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2012-08-19 09:56:57 +0100 |
commit | 908d5655d23aad62947910993cb2fe6ab431b1d7 (patch) | |
tree | f01181cac08792e25983aa00f4e60b70735ae433 | |
parent | 19d2a0c01185451d2e2903f116f792e591b8ff5f (diff) | |
download | netsurf-908d5655d23aad62947910993cb2fe6ab431b1d7.tar.gz netsurf-908d5655d23aad62947910993cb2fe6ab431b1d7.tar.bz2 |
add riscos zip build target
-rw-r--r-- | riscos/Makefile.target | 14 |
1 files changed, 14 insertions, 0 deletions
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) |