mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-24 13:06:49 +03:00
fix riscos makefile tempfile creation
This commit is contained in:
parent
57d2e31e59
commit
4985b56b68
@ -105,12 +105,10 @@ CLEANS += clean-run
|
||||
# Install target
|
||||
# ----------------------------------------------------------------------------
|
||||
|
||||
install-riscos: netsurf.zip
|
||||
|
||||
netsurf.zip: $(EXETARGET)
|
||||
TMPDIR:=$(shell mktemp -d)
|
||||
$(eval $@_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)
|
||||
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
Block a user