src/Makefile
changeset 1984 bb30566b95e9
parent 1980 b3eac2be24bb
child 2125 58b5b0fdbd4f
child 2572 20cf41d565de
--- a/src/Makefile	Thu Jul 22 11:08:51 2010 -0700
+++ b/src/Makefile	Thu Jul 22 17:15:32 2010 -0700
@@ -60,8 +60,11 @@
 $(SUBDIRS): FRC
 	@cd $@; pwd; $(MAKE) $(TARGET)
 
+# Use the bits we just built to create the packages.
 packages: install
-	@cd pkg; pwd; $(MAKE) $(TARGET) check
+	@cd pkg; pwd; $(MAKE) $(TARGET) check \
+		PATH=$$(hg root)/proto/root_$$(uname -p)/usr/bin:$$PATH \
+		PYTHONPATH=$$(hg root)/proto/root_$$(uname -p)/usr/lib/python2.6/vendor-packages
 
 # XXX link is a developer target to connect the local machine to the current
 # repository's working copy's versions of the commands, modules, and supporting