[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.40 +2 -1 eda/geda/devel/gschem/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/gschem/src/Makefile.am,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -b -r1.39 -r1.40
--- Makefile.am 24 Jan 2006 03:34:02 -0000 1.39
+++ Makefile.am 20 May 2006 19:22:29 -0000 1.40
@@ -55,7 +55,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/$@~