Use Makefile variables to generate a settings file at build time.
/trees/ url fix.