* Makefile.am (.c.x): Use same rule as in libguile.
authorMikael Djurfeldt <djurfeldt@nada.kth.se>
Thu, 16 Sep 1999 11:50:49 +0000 (11:50 +0000)
committerMikael Djurfeldt <djurfeldt@nada.kth.se>
Thu, 16 Sep 1999 11:50:49 +0000 (11:50 +0000)
guile-readline/Makefile.am

index 21fa18e..28b6b5c 100644 (file)
@@ -41,7 +41,8 @@ ice9_DATA = readline.scm
 
 SUFFIXES = .x
 .c.x:
-       $(GUILE_SNARF) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $< > $@
+       $(GUILE_SNARF) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $< > $@ \
+       || { rm $@; false; }
 
 EXTRA_DIST = readline.scm