The instructions to build with pymake used to be quite complex: # Switch to the root of the source directory, then run autoconf-2.13 # Change to js/src and run autoconf-2.13 again # Create your objdir # Change to your objdir and run path_to_srcdir/configure # Run python -O path_to_srcdir/build/pymake/make.py (add makeflags to taste). It turns out that it's somewhat easier than that: # Add MOZ_OBJDIR=. to your .mozconfig # Create your objdir # Change to your objdir and run python -O path_to_srcdir/build/pymake/make.py -f path_to_srcdir/client.mk TOPSRCDIR=path_to_srcdir/ However we can eliminate the use of TOPSRCDIR by automatically detecting it, and also set MOZ_OBJDIR at the same time.
Created attachment 451713 [details] [diff] [review] Proposed patch
Comment on attachment 451713 [details] [diff] [review] Proposed patch Clever!
rs+=me for a c-c copy of this patch btw.
Pushed changeset ea59b927d99f to mozilla-central.