Permalink
Browse files

make local_install target

git-svn-id: https://erlyaws.svn.sourceforge.net/svnroot/erlyaws/trunk/yaws@240 9fbdc01b-0d2c-0410-bfb7-fb27d70d8b52
  • Loading branch information...
1 parent 9ba42ff commit 5007942fc3273bcb19f1888d606b2bf7d30cc3ae @klacke committed Nov 4, 2002
Showing with 10 additions and 1 deletion.
  1. +4 −0 Makefile
  2. +2 −0 scripts/Makefile
  3. +4 −1 www/configuration.yaws
View
@@ -10,6 +10,10 @@ all debug clean install:
done
+
+local_install: all
+ (cd scripts && $(MAKE) local_install)
+
apps:
for a in $(APPS) ; do
if [ -f applications/$$a/Makefile ]; then \
View
@@ -6,6 +6,8 @@ all debug: ../bin/yaws
../bin/yaws: yaws.ss
@sh ./mangle `pwd`/.. $(ERL) yaws.ss ../bin/yaws
@chmod +x ../bin/yaws
+
+local_install: ../bin/yaws
@if [ -f $$HOME/yaws.conf ]; \
then echo "$$HOME/yaws.conf already exists "; \
else \
View
@@ -38,7 +38,10 @@ checkout the bleeding edge source, build it and install it at
<p>Give return as password.
<p>Just <tt>make</tt> (without install)
-will build the yaws system and do a local
+will build the yaws system and
+
+<tt>make local_install</tt>
+does a local
install at http://127.0.0.1:8000. This is the typical mode of operation
while either just trying out yaws, or hacking yaws. This will install
a template configuration file <tt>yaws.conf</tt> in $HOME.

0 comments on commit 5007942

Please sign in to comment.