diff options
author | Vincent Sanders <vince@kyllikki.org> | 2012-08-19 13:05:35 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2012-08-19 13:06:34 +0100 |
commit | 4985b56b68192b91d406698976a7a922f556ea09 (patch) | |
tree | 80c944bbbbe887d6b45854c6deb308f2564d7015 /riscos | |
parent | 57d2e31e591b97106f9c66ce54c96bc094208a54 (diff) | |
download | netsurf-4985b56b68192b91d406698976a7a922f556ea09.tar.gz |
fix riscos makefile tempfile creation
Diffstat (limited to 'riscos')
-rw-r--r-- | riscos/Makefile.target | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/riscos/Makefile.target b/riscos/Makefile.target index 9e8240646..3498660e8 100644 --- a/riscos/Makefile.target +++ b/riscos/Makefile.target @@ -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) |