diff options
author | Mikhail Zabaluev <mikhail.zabaluev@nokia.com> | 2008-11-17 17:53:58 +0200 |
---|---|---|
committer | Mikhail Zabaluev <mikhail.zabaluev@nokia.com> | 2008-11-18 12:02:40 +0200 |
commit | 77502a45f51f3359514979cae81eaac6d69023e0 (patch) | |
tree | 9cd37cca82c4fb7b2ffec71246b18e42c1f4baf7 /tpsip | |
parent | ca3fd34d44121982aab0df21cc51c56e353d9fd6 (diff) |
Made source generation rules more robust
In case of a tool failure, the output file is removed.
Diffstat (limited to 'tpsip')
-rw-r--r-- | tpsip/Makefile.am | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tpsip/Makefile.am b/tpsip/Makefile.am index 0160b31..075ce49 100644 --- a/tpsip/Makefile.am +++ b/tpsip/Makefile.am @@ -33,7 +33,7 @@ EXTRA_DIST = signals-marshal.list CLEANFILES = $(BUILT_SOURCES) signals-marshal.c: ${srcdir}/signals-marshal.list - glib-genmarshal --body --prefix=_tpsip_marshal $< >$@ + glib-genmarshal --body --prefix=_tpsip_marshal $< >$@ || rm -f $@ signals-marshal.h: ${srcdir}/signals-marshal.list - glib-genmarshal --header --prefix=_tpsip_marshal $< >$@ + glib-genmarshal --header --prefix=_tpsip_marshal $< >$@ || rm -f $@ |