diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2009-03-10 02:15:37 -0400 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2009-03-10 02:16:09 -0400 |
commit | 916640ce40b995d1d97244975139ec0c030483e4 (patch) | |
tree | 581764983d56159b0aec2488ba18abfc2a9c49e9 /fc-lang | |
parent | 26ce979e825d661be046b1440563115ddc5ea4ab (diff) |
Fix Makefile's to not create target file in case of failure
Diffstat (limited to 'fc-lang')
-rw-r--r-- | fc-lang/Makefile.am | 3 |
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 |