• Andrew Price's avatar
    Build system rejig and packaging tweaks · 165fa504
    Andrew Price authored
    - The build system is generally more aware of whether it's in an svn checkout
      or a non-svn tree.
    - Makefile.common was added to provide version numbers and path
      variables, including working out what the VERSION_TWEAK should be.
    - The export rule saves the svn rev to mw.rev so that the spec file and
      makefiles can use it from a non-svn tree/tarball. This means the 
      specfile never needs to be changed with a sed command.
    - Spec file and debian packaging have been updated, slightly simplified
      and now install the .mo translation files.
    - Now installs using DESTDIR as the root which is recommended in Debian
      and Fedora.
    - Now accepts a 'prefix' variable (to choose between /usr and
      /usr/local, for example). /usr/local remains the default.
    - Warns when you build in an svn checkout and svnversion isn't present.
    - Top level makefile now has 'build' and 'clean' rules which just 
      propagate into the src/ and po/ directories ('build' is the default
      rule for all makefiles now).
    
    165fa504