From 4985b56b68192b91d406698976a7a922f556ea09 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Sun, 19 Aug 2012 13:05:35 +0100 Subject: fix riscos makefile tempfile creation --- riscos/Makefile.target | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'riscos') 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) -- cgit v1.2.3