Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Dec 21, 2011
  1. @vinoski

    make "rebar compile" install under the build dir

    vinoski authored
    A "rebar compile" used to install yaws, yaws.conf, and other files
    under the user's home directory, just like "make local_install". This
    approach isn't idiomatic to rebar usage, so change it to install files
    locally under the build directory. Starting ./bin/yaws from the build
    directory starts this local installation.
Commits on Dec 15, 2011
  1. @vinoski

    make local_install put var dir under $HOME

    vinoski authored
    The "make local_install" command was using /usr/local/var by default,
    which might not exist and the user might not have permissions to
    create. Put var and its subdirs under $HOME with the rest of
    local_install instead.
Commits on May 8, 2011
  1. @vinoski

    fix rebar-related installation errors

    vinoski authored
    Fix install-related errors caused by refactoring for rebar. One error
    was that the new gen-yaws-conf script was trying to create directories
    needed for the local-install script, and the other was that the
    regular-install script was attempting to create a directory named
    $DESTDIR, which is typically an empty string.
  2. @vinoski

    more build avoidance for rebar build

    vinoski authored
    Modify scripts/rebar-pre-scripts and scripts/local-install to avoid
    rebuilding generated files that haven't changed since the last
    build. Modify scripts/Makefile to account for local-install changes.
    Also apply minor fix to rebar.config indentation.
Commits on May 7, 2011
  1. @tuncer @vinoski

    add rebar support (Tuncer Ayaz and Steve Vinoski)

    tuncer authored vinoski committed
    Add support for building yaws with rebar. The original configure and
    make support is kept intact.
    If you build with rebar you get a local install. The rebar approach
    does not support a regular install, which defaults into /usr/local. If
    you want a regular install, use configure and make.
    Create a new top-level contrib directory and move unused src files
    there. Also move src/benchmarks and src/contrib contents there as
    well. Remove the obsolete src/patches directory. This is all to keep
    rebar from compiling this unused code (since by default it compiles
    everything under the src dir).
    Move a number of build rules out of Makefiles into separate scripts so
    they can be used by both rebar and make.
    Modify yaws version specifier and handling to be amenable to rebar.
    Clean up trailing whitespace in a number of scripts and Makefiles.
    Use the following environment variables to customize the rebar build
    DEFAULT_CHARSET: used in mime type table (default: "")
    ERLBINDIR: e.g. /usr/local/bin
    ETCDIR: etc directory (default: ./etc)
    VARDIR: var directory (default: ./var)
Something went wrong with that request. Please try again.