summaryrefslogtreecommitdiff
path: root/fc-lang
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2009-03-10 02:15:37 -0400
committerBehdad Esfahbod <behdad@behdad.org>2009-03-10 02:16:09 -0400
commit916640ce40b995d1d97244975139ec0c030483e4 (patch)
tree581764983d56159b0aec2488ba18abfc2a9c49e9 /fc-lang
parent26ce979e825d661be046b1440563115ddc5ea4ab (diff)
Fix Makefile's to not create target file in case of failure
Diffstat (limited to 'fc-lang')
-rw-r--r--fc-lang/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/fc-lang/Makefile.am b/fc-lang/Makefile.am
index 60e4f318..f2108944 100644
--- a/fc-lang/Makefile.am
+++ b/fc-lang/Makefile.am
@@ -42,7 +42,8 @@ EXTRA_DIST=$(TMPL) $(ORTH)
$(TARG):$(ORTH) fc-lang${EXEEXT} $(STMPL)
rm -f $(TARG)
- ./fc-lang${EXEEXT} -d ${srcdir} $(ORTH) < $(STMPL) > $(TARG)
+ ./fc-lang${EXEEXT} -d ${srcdir} $(ORTH) < $(STMPL) > $(TARG).tmp && \
+ mv $(TARG).tmp $(TARG)
ALIAS_FILES = fcalias.h fcaliastail.h