Skip to content
Commits on Jul 7, 2014
  1. @capflam

    Massive autotools refactoring & cleanup

    capflam committed
    Now, all makefile are generated by automake. This way, many things are more
    configurable and maintainable.
    
    Main (visible) changes:
    
     * Now, you can configure and compile Yaws outside the source directory. It is
       also possible to generate an archive for distribution, using the 'dist' target
       (from now, 'distcheck' target should always pass).
    
     * We track .erl dependencies using '-M*' flags of ERLC.
    
     * generated header 'yaws_configure.hrl' disappears. HAVE_SENDFILE,
       HAVE_ERLANG_SENDFILE and HAVE_CRYPTO_HASH macros are defined in ERLC flags.
    
     * yaws_generated:localinstall/0 function disappears (see comment about local
       install).
    
     * To create a windows installer, we just need to run the 'mkinstaller'
       target. Read win32/README.developer for details.
    
     * We use standard Erlang installation path for Yaws, relative to the erlang
       library directory (/usr/lib/erlang/lib). Now, '$(libdir)/yaws' is a link. We
       do the same for yapp application.
    
     * "local install" was removed. Now, to do a "developer install", we just need
       to set a prefix during the project configuration using --prefix option. So,
       you need to install yaws to test it.
    
     * DESTDIR variable is still supported.
    
     * scripts/make-release was rewritten to use 'dist' and 'mkinstaller' targets.
    
     * Installation of Yaws applications has slightly changed. Now they are
       installed in their own directory, in '$(localstatedir)/yaws'. So, chat
       application will be installed in '$(localstatedir)/yaws/chat', with 'www' and
       'ebin' subdirs.
    
    Main targets (others than all/install/clean....):
    
      * all           : compile Yaws
      * debug         : compile Yaws with debug flags
      * clean         : remove files produced by all or debug target
      * install       : do a proper install of Yaws
      * doc or docs   : build the documentation
      * check or test : launch tests
      * cleantest     : remove files produced by check target
      * dialyzer      : run dialyzer on Yaws
      * mkinstaller   : build an installer for windows
      * cleaninstaller: remove files produced by mkinstaller target
      * apps          : compile Yaws applications (chat,mail,wiki,yapp)
      * cleanapps     : remove files produced by apps target
      * installapps   : install Yaws applications
      * fullinstall   : install + installapps
      * fullclean     : clean + cleantest + cleanapps + cleaninstaller
    
      To install an application, run: (cd application/{APP} && make install)
    
    Of course, many things can be customized during configuration and Rebar still
    works as expected. To do an install with (almost) the same tree than with
    previous of Yaws, do:
    
      $> ./configure yawsdir=${prefix}/lib/yaws yappdir=${prefix}/lib/yapp \
            --sysconfdir=/etc --localstatedir=/var
      $> make install
    
    Here is the default installation tree on my debian:
    
       usr
        ├── lib
        │   └── erlang
        │       └── lib
        │           ├── yapp-0.4.2
        │           │   ├── doc/
        │           │   ├── ebin/
        │           │   ├── examples/
        │           │   └── priv/docroot/
        │           └── yaws-1.98
        │               ├── ebin/
        │               ├── include/
        │               └── priv/
        │               ├── examples/
        │
        ├── local/bin/yaws
        │
        ├── local/etc/init.d/yaws
        ├── local/etc/yaws/
        ├── local/etc/mail/yaws-webmail.conf
        │
        ├── local/lib/pkgconfig/yaws.pc
        ├── local/lib/yapp -> /usr/lib/erlang/lib/yapp-0.4.2
        ├── local/lib/yaws -> /usr/lib/erlang/lib/yaws-1.98
        │
        ├── local/share/doc/yaws/yaws.pdf
        ├── local/share/man/{man1,man5}/
        │
        ├── local/var/log/yaws
        ├── local/var/run/yaws
        └── local/var/yaws
            ├── chat/{ebin,www}
            ├── mail/{ebin,www}
            ├── wiki/{ebin,www}
            └── www
Commits on Apr 2, 2014
  1. @vinoski

    dialyzer maintenance

    vinoski committed
    Fix known dialyzer warnings. Also change Makefile dialyzer rule to make it
    easier to see pass/fail results.
Commits on Sep 8, 2012
  1. @jj1bdx

    Update Makefile and src/Makefile

    jj1bdx committed
    * Targets in `Makefile` of `yaws.plt` and `dialyzer` calls
      dialyzer with two target directories, `ebin` and `src`;
      this causes the error of duplicate modules.
      Checking out the .beam files under `ebin` is sufficient
      for dialyzer; `src` is removed.
    
    * Target `mime_type_c.beam` in `src/Makefile` is
      superfluous and generates a spurious .beam file in
      the `src` directory, so the target is removed.
      Also target `charset.def` in `src/Makefile` should be
      dependent on `../ebin/mime_type_c.beam`, so this is
      also changed from the previous target without the
      directory path.
Commits on May 5, 2012
  1. @vinoski
Commits on Apr 25, 2012
  1. @capflam

    Make the target test dependent on the target all

    capflam committed
    So, when we run 'make test', Yaws sources are recompiled, if needed.
Commits on Apr 24, 2012
  1. @vinoski

    change dialyzer Makefile targets to handle known warnings

    vinoski committed
    At the suggestion of Tuncer Ayaz, modify the dialyzer targets to use the
    new known_dialyzer_warnings file to ignore all known dialyzer warnings.
Commits on Jan 2, 2012
Commits on Sep 23, 2011
  1. @vinoski

    delete chatty messages, make yaws_server upgrade-friendly (Klarna)

    vinoski committed
    Incorporate changes from Klarna (via Richard Carlsson) to delete
    chatty messages in a variety of places. These messages were for
    success cases; they were deleted because success cases should be
    quiet.
    
    Change yaws --check to take an optional --verbose option to allow
    original verbose success messages to be emitted. Also change the yaws
    script so that the --id option works for --check.
    
    Change yaws_server to make fully-qualified calls to gserv_loop to
    ensure code upgrades call into the newly-loaded module version.
Commits on May 7, 2011
  1. @tuncer @vinoski

    add rebar support (Tuncer Ayaz and Steve Vinoski)

    tuncer committed with vinoski
    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
    defaults:
    
    DEFAULT_CHARSET: used in mime type table (default: "")
    ERLBINDIR: e.g. /usr/local/bin
    ETCDIR: etc directory (default: ./etc)
    VARDIR: var directory (default: ./var)
Commits on Mar 3, 2011
  1. @vinoski
Commits on Mar 2, 2011
  1. @vinoski

    add test target to top-level Makefile

    vinoski committed
    Add test target to top-level Makefile to allow tests to be built and
    run from that level.
    
    Also fix the start target in test/support/include.mk.in to only try to
    start a yaws instance if the current working directory contains a
    yaws.conf file. The lack of this check was preventing half the tests
    from running under "make test".
Commits on Feb 20, 2010
  1. dialyzer work

    committed
Commits on Feb 18, 2010
  1. dialyzer work

    committed
Commits on Mar 6, 2009
  1. @ndim

    Rename shopingcart to shoppingcart

    ndim committed with
    This should catch all occurences of the word "shoping" outside
    of ChangeLogs or NEWS files and replace it with the correctly
    spelled "shopping".
Commits on Jan 29, 2009
  1. @vinoski
Commits on May 20, 2008
  1. Added a 'make release' target in the top makefile. he release

    committed
    file picks up the versions of installed applications (erts,
    kernel, stdlib, sasl and mnesia).
    
    The product of this is a release package file (e.g. yaws-1.73.tar.gz)
    which can be installed on an embedded system using the SASL
    application release_handler.
    
    git-svn-id: https://erlyaws.svn.sourceforge.net/svnroot/erlyaws/trunk/yaws@1249 9fbdc01b-0d2c-0410-bfb7-fb27d70d8b52
Commits on Jun 7, 2006
  1. *** empty log message ***

    committed
    git-svn-id: https://erlyaws.svn.sourceforge.net/svnroot/erlyaws/trunk/yaws@975 9fbdc01b-0d2c-0410-bfb7-fb27d70d8b52
  2. mikl hup fixes

    committed
    git-svn-id: https://erlyaws.svn.sourceforge.net/svnroot/erlyaws/trunk/yaws@974 9fbdc01b-0d2c-0410-bfb7-fb27d70d8b52
  3. preparing for 1.62

    committed
    git-svn-id: https://erlyaws.svn.sourceforge.net/svnroot/erlyaws/trunk/yaws@972 9fbdc01b-0d2c-0410-bfb7-fb27d70d8b52
Commits on Apr 27, 2006
  1. added support for 2 additional configure

    committed
    flags, --disable-pam and --with-extrainclude=DIR
    
    Worked the Makefiles to properly support DESTDIR. This is
    useful for packagers (deb, rpm ...)
    
    
    git-svn-id: https://erlyaws.svn.sourceforge.net/svnroot/erlyaws/trunk/yaws@960 9fbdc01b-0d2c-0410-bfb7-fb27d70d8b52
Commits on Dec 13, 2004
  1. safer make install

    committed
    git-svn-id: https://erlyaws.svn.sourceforge.net/svnroot/erlyaws/trunk/yaws@802 9fbdc01b-0d2c-0410-bfb7-fb27d70d8b52
Commits on May 25, 2004
  1. documented appmods as an example

    committed
    git-svn-id: https://erlyaws.svn.sourceforge.net/svnroot/erlyaws/trunk/yaws@687 9fbdc01b-0d2c-0410-bfb7-fb27d70d8b52
Commits on Mar 18, 2004
Commits on Nov 10, 2003
Commits on May 4, 2003
  1. ""

    committed
    git-svn-id: https://erlyaws.svn.sourceforge.net/svnroot/erlyaws/trunk/yaws@392 9fbdc01b-0d2c-0410-bfb7-fb27d70d8b52
Commits on Apr 10, 2003
  1. Build chain modifications: Install target directories is now totally …

    Mikael Karlsson committed
    …controllable; The docs build is optionnal
    
    git-svn-id: https://erlyaws.svn.sourceforge.net/svnroot/erlyaws/trunk/yaws@379 9fbdc01b-0d2c-0410-bfb7-fb27d70d8b52
Commits on Mar 6, 2003
  1. skip empty space after an </erl> and handle http_error which is gener…

    committed
    …ated by the inet_drv.c code. This assumes a patch to the inet_drv.c that actually generates a http_error in this case. Default erl hangs there
    
    git-svn-id: https://erlyaws.svn.sourceforge.net/svnroot/erlyaws/trunk/yaws@370 9fbdc01b-0d2c-0410-bfb7-fb27d70d8b52
Commits on Nov 27, 2002
Commits on Nov 5, 2002
  1. added doc directory

    committed
    git-svn-id: https://erlyaws.svn.sourceforge.net/svnroot/erlyaws/trunk/yaws@244 9fbdc01b-0d2c-0410-bfb7-fb27d70d8b52
Commits on Nov 4, 2002
  1. make local_install target

    committed
    git-svn-id: https://erlyaws.svn.sourceforge.net/svnroot/erlyaws/trunk/yaws@240 9fbdc01b-0d2c-0410-bfb7-fb27d70d8b52
Commits on Oct 7, 2002
  1. added more documentation

    committed
    git-svn-id: https://erlyaws.svn.sourceforge.net/svnroot/erlyaws/trunk/yaws@194 9fbdc01b-0d2c-0410-bfb7-fb27d70d8b52
Commits on Jul 1, 2002
  1. ""

    committed
    git-svn-id: https://erlyaws.svn.sourceforge.net/svnroot/erlyaws/trunk/yaws@120 9fbdc01b-0d2c-0410-bfb7-fb27d70d8b52
Commits on Jun 17, 2002
  1. ""

    Tobbe Tornquist committed
    git-svn-id: https://erlyaws.svn.sourceforge.net/svnroot/erlyaws/trunk/yaws@93 9fbdc01b-0d2c-0410-bfb7-fb27d70d8b52
Commits on Jun 16, 2002
  1. ""

    committed
    git-svn-id: https://erlyaws.svn.sourceforge.net/svnroot/erlyaws/trunk/yaws@89 9fbdc01b-0d2c-0410-bfb7-fb27d70d8b52
Something went wrong with that request. Please try again.