Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

""

git-svn-id: https://erlyaws.svn.sourceforge.net/svnroot/erlyaws/trunk/yaws@33 9fbdc01b-0d2c-0410-bfb7-fb27d70d8b52
  • Loading branch information...
commit e315955cb9afd7f1a1e475d28a807f292e1fbc9e 1 parent 1b1c04b
@klacke authored
Showing with 26 additions and 8 deletions.
  1. +1 −1  ebin/yaws.app
  2. +21 −0 scripts/Install
  3. +3 −6 scripts/Makefile
  4. +1 −1  vsn.mk
View
2  ebin/yaws.app
@@ -1,6 +1,6 @@
{application,yaws,
[{description,"yaws WWW server"},
- {vsn,"0.22"},
+ {vsn,"0.26"},
{modules,[yaws, yaws_app, yaws_config, yaws_server, yaws_sup, yaws_api, yaws_log, yaws_ls, yaws_debug, yaws_compile]},
{registered, []},
{mod,{yaws_app,[]}},
View
21 scripts/Install
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+set -x
+
+prefix=$1
+erl=$2
+
+. ../vsn.mk
+
+sh ./mangle ${prefix}/lib/yaws-${YAWS_VSN} ${erl} yaws.ss ${prefix}/bin/yaws
+install -d ${prefix}/lib/yaws/examples/ebin
+install -d ${prefix}/lib/yaws/examples/include
+chmod +x ${prefix}/bin/yaws
+if [ -f /etc/yaws.conf ]; then
+ t=/etc/yaws.conf.template
+else
+ t=/etc/yaws.conf
+fi
+
+sh ./mangle ${prefix}/lib/yaws-${YAWS_VSN} ${erl} yaws.conf.template ${t}
+
View
9 scripts/Makefile
@@ -14,11 +14,8 @@ clean:
rm -f ../bin/yaws
install: all
- @sh ./mangle $(INSTALLPREFIX)/lib/yaws $(ERL) \
- yaws.ss $(INSTALLPREFIX)/bin/yaws;
- chmod +x $(INSTALLPREFIX)/bin/yaws;
- [ -f /etc/yaws.conf ] && mv -f /etc/yaws.conf /etc/yaws.conf.bak; \
- sh ./mangle $(INSTALLPREFIX)/lib/yaws foo \
- yaws.conf.template /etc/yaws.conf
+ sh ./Install $(INSTALLPREFIX) $(ERL)
+
+
View
2  vsn.mk
@@ -1 +1 @@
-YAWS_VSN=0.26
+YAWS_VSN=0.27
Please sign in to comment.
Something went wrong with that request. Please try again.