add riscos zip build target
This commit is contained in:
parent
19d2a0c011
commit
908d5655d2
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue