[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-cvs: CVS update: Makefile.am
User: ahvezda
Date: 06/05/20 15:22:29
Modified: . Makefile.am
Log:
Fixed build of C source files from nw to avoid the stale file when notangle
fails
Revision Changes Path
1.53 +3 -2 eda/geda/devel/libgeda/src/Makefile.am
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Makefile.am
===================================================================
RCS file: /home/cvspsrv/cvsroot/eda/geda/devel/libgeda/src/Makefile.am,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -b -r1.52 -r1.53
--- Makefile.am 30 Sep 2005 22:01:53 -0000 1.52
+++ Makefile.am 20 May 2006 19:22:29 -0000 1.53
@@ -1,4 +1,4 @@
-# $Id: Makefile.am,v 1.52 2005/09/30 22:01:53 cnieves Exp $
+# $Id: Makefile.am,v 1.53 2006/05/20 19:22:29 ahvezda Exp $
#
# NOTE: Don't forget that in the libtool distribution, files in this
# directory are distributed by the demo_distfiles variable in the top
@@ -49,7 +49,8 @@
SUFFIXES = .nw
.nw.c:
- $(NOTANGLE) $(NOTANGLEFLAGS) $(NOTANGLEROOT)'$@ : *' $< > ../src/$@
+ $(NOTANGLE) $(NOTANGLEFLAGS) $(NOTANGLEROOT)'$@ : *' $< > ../src/$@.tmp
+ mv -f ../src/$@.tmp ../src/$@
$(INDENTBIN) $(INDENTFLAG) ../src/$@
rm -f ../src/$@~