add riscos zip build target

This commit is contained in:
Vincent Sanders 2012-08-19 09:56:57 +01:00
parent 19d2a0c011
commit 908d5655d2
1 changed files with 14 additions and 0 deletions

View File

@ -100,3 +100,17 @@ clean-run:
$(VQ)echo " CLEAN: !NetSurf/!Run$(RUNEXT)" $(VQ)echo " CLEAN: !NetSurf/!Run$(RUNEXT)"
$(Q) $(RM) !NetSurf/!Run$(RUNEXT) $(Q) $(RM) !NetSurf/!Run$(RUNEXT)
CLEANS += clean-run 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)