On 12/27/2006 03:30 PM, Fabian wrote:
Update of /cvsroot/monetdb/buildtools In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv5580
Modified Files: Makefile.in Log Message: Force python to respect the build dir, as it pollutes the source dir otherwise. This is extra annoying because when using different platforms from the same source tree, python thinks its build cache is fine, and just installs files which plain won't work on the target machine.
This I don't quite understand. Autogen is python only. There are no platform-dependent files there at all. So, what is the problem that you're fixing? (This is not saying that I mind the solution, I question the reason.)
Index: Makefile.in =================================================================== RCS file: /cvsroot/monetdb/buildtools/Makefile.in,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- Makefile.in 22 Dec 2006 15:42:21 -0000 1.6 +++ Makefile.in 27 Dec 2006 14:30:46 -0000 1.7 @@ -10,14 +10,17 @@ @-echo
all: - cd "$(SRC)/autogen" && python setup.py build + cd "$(SRC)"/autogen && python setup.py build \ + --build-base="$(BUILD)"/_autogen cd _MX && $(MAKE) MAKE=$(MAKE) $@ cd _MEL && $(MAKE) MAKE=$(MAKE) $@ cd _BURG && $(MAKE) MAKE=$(MAKE) $@
# ... run individual "make install"s ... install: - cd "$(SRC)/autogen" && python setup.py install --prefix="$(DESTDIR)$(PREFIX)" + cd "$(SRC)"/autogen && python setup.py install \ + --build-base="$(BUILD)"/_autogen \ + --prefix="$(DESTDIR)$(PREFIX)" cd _MX && $(MAKE) MAKE=$(MAKE) $@ cd _MEL && $(MAKE) MAKE=$(MAKE) $@ cd _BURG && $(MAKE) MAKE=$(MAKE) $@
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Monetdb-checkins mailing list Monetdb-checkins@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-checkins
-- Sjoerd Mullender