Update of /cvsroot/monetdb/buildtools/autogen/autogen
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv28449/autogen/autogen

Modified Files:
      Tag: MonetDB_1-20
        am.py 
Log Message:
only add an header to the BUILT_SOURCES list iff the header isn't in 
the SOURCES list. This should solve problems with make distclean.


Index: am.py
===================================================================
RCS file: /cvsroot/monetdb/buildtools/autogen/autogen/am.py,v
retrieving revision 1.55.2.2
retrieving revision 1.55.2.3
diff -u -d -r1.55.2.2 -r1.55.2.3
--- am.py       22 Oct 2007 12:13:25 -0000      1.55.2.2
+++ am.py       16 Nov 2007 20:53:00 -0000      1.55.2.3
@@ -402,7 +402,8 @@
         fd.write("\t$(RM) $(DESTDIR)%s/%s\n\n" % (sd, header))
         am['INSTALL'].append(h)
         am['UNINSTALL'].append(h)
-        am['BUILT_SOURCES'].append(h)
+        if h not in headers['SOURCES']:
+            am['BUILT_SOURCES'].append(h)
         am['InstallList'].append("\t"+sd+"/"+header+cond+"\n")
 
     am_find_ins(am, headers)


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins

Reply via email to