ROCK Substitutions

From RockWiki

Jump to: navigation, search

Upon installing, some files undergo a freakish metamorphosis (ie, some strings are replaced by others). These rules apply:

  • D_prefix -> $prefix
    $prefix is the installation prefix (for example, /usr, /opt/apache)
  • D_bindir -> $bindir
    $bindir is where the executable binaries are installed (usually $prefix/bin)
  • D_sbindir -> $sbindir
    $sbindir is where the executable binaries for the superuser are installed (usually $prefix/sbin)
  • D_datadir -> $datadir
    $datadir is where architecture-independant data (textures, sounds) should be stored (usually $prefix/share)
  • D_libdir -> $libdir
    $libdir is where the dynamic libraries are stored (usually $prefix/lib)
  • D_localstatedir -> $localstatedir
    This is where variable data (savegames, logfiles) should be stored (usually /var)
  • D_sysconfdir -> $sysconfdir
    $sysconfdir is where the configuration files reside (usually /etc)
  • D_docdir -> $docdir
    $docdir is where the documentation is installed (usually $datadir/doc/$pkg)
  • D_infodir -> $infodir
    $infodir is where the info pages go (usually $datadir/info)
  • D_mandir -> $mandir
    $mandir is where the man pages go (usually $datadir/man)
  • D_version -> $ver
    $ver is the packages' version number.
Personal tools