title: Variables in debian/rules makefile
body: <p>I have to port one RPM (made for Fedora) to Ubuntu as a deb package.</p>
  
  <p>In the RPM .spec file I'm using several variables (<code>$RPM_BUILD_ROOT, %{_libdir}, %{name}, %{version}</code>) to create a symlink:</p>
  
  <pre><code>%install
  ...
  (cd $RPM_BUILD_ROOT/%{_bindir}; ln -sf %{_libdir}/%{name}-%{version}/%{name} . )
  </code></pre>
  
  <p>(Relative symlinks are forbidden (please don't ask why) -- that is why <code>ln</code> command looks strange.)</p>
  
  <p>So, what are equivalents of those variables in <code>debian/rules</code> makefile?</p>
  
  <p>Thanks in advance.</p>