title: "sudo make x11-dist-install", no rule to generate
body: <p>So, I'm trying to getting setup on Ubuntu the <a href="https://github.com/g-truc/ogl-samples" rel="nofollow noreferrer">g-samples</a> of g-truc.</p>
  
  <p>Installed <code>build-essentials</code> and a lot of dev mesa libs.</p>
  
  <p>cmake works flawless.</p>
  
  <p>However, the linux instructions are the following:</p>
  
  <ul>
  <li>Install the GLFW library included in the external directory. -- sudo make x11-dist-install</li>
  <li>Run CMake to create a makefile for GCC</li>
  <li>Launch the sample from the build output directory</li>
  </ul>
  
  <p>But if I run <code>sudo make x11-dist-install</code> from within gl-samples/external/glfw-3.1.1</p>
  
  <pre><code>make: ***  no rule to generate "x11-dist-install" objective.  Stop.
  </code></pre>
  
  <p>According to <a href="https://github.com/g-truc/ogl-samples/issues/59" rel="nofollow noreferrer">g-truc</a>, it looks like a glfw bug, but I don't know if it's really the case or I'm just doing something wrong</p>