title: How to use RequireJS build profile + r.js in a multi-page project
body: <p>I am currently learning RequireJS fundamentals and have some questions regarding a build profile, main files, and use of RequireJS with multi-page projects.</p>
  
  <p>My project's directory structure is as follows:</p>
  
  <pre>
  httpdocs_siteroot/
      app/
          php files...
      media/
          css/
              css files...
          js/
              libs/
                  jquery.js
                  require.js
                  mustache.js
              mains/
                  main.page1.js
                  main.page2.js
                  main.page3.js
              plugins/
                  jquery.plugin1.js
                  jquery.plugin2.js
                  jquery.plugin3.js
              utils/
                  util1.js
                  util2.js
          images/
  </pre>
  
  <p>Since this project is not a single-page app, I have a separate main file for each page (although some pages use the same main file). </p>
  
  <p>My questions are: </p>
  
  <ol>
  <li><p>Is RequireJS even practical for projects that are not single-page?</p></li>
  <li><p>Without using the optimizer, each of my main files start with essentially the same config options:</p>
  
  <pre><code>requirejs.config({
    paths: {
      'jquery': 'http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min'
    },
    baseUrl: '/media/js/',
    // etc...
  });
  require(['deps'], function() { /* main code */ });
  </code></pre>
  
  <p>Is there a way to avoid this? Like having each main file include the same build profile without having to actually build it?</p></li>
  <li><p>Should r.js go in <code>httpdocs_siteroot</code>'s parent directory?</p></li>
  <li><p>Is there something glaringly wrong with my app dir structure or my use of RequireJS?</p></li>
  </ol>