I have: mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/dist/_firefox in my .mozconfig and "dist" doesn't exists so I got: mkdir: cannot create directory `/cygdrive/d/Mozilla/mozilla/dist/_firefox': No s uch file or directory It seems like the following line in client.mk do the mkdir command: @if test ! -d $(MOZ_OBJDIR); then $(MKDIR) $(MOZ_OBJDIR); else true; fi endif
By default, mkdir only creates the leaf directory. If you want to create all of the intermediate directories, you have to use 'mkdir -p' which isn't portable. The portable solution would be to start bundling the mkinstalldirs script which does the same thing a 'mkdir -p'.
The mkinstalldirs appears to be included in the build. So, is it just a question of using it now that it is available? I build on Mac OS X 10.5.7 with a .mozconfig that contains: . $topsrcdir/browser/config/mozconfig ac_add_options --enable-application=browser mk_add_options AUTOCONF=autoconf213 I see it at: src/modules/freetype2/builds/unix/mkinstalldirs
Mass bug cleanup for Core:Build Config. If you feel this bug has been closed in error, please re-open with new details.