From cdf9043e4b1fed50f59cf9b0044d7ab57b19783a Mon Sep 17 00:00:00 2001 From: David Thompson Date: Sat, 11 Oct 2014 22:27:39 -0400 Subject: Makefile: Add 'dev-server' target. * Makefile.am (dev-server): New target. * README.md ('Use'): Document it. --- Makefile.am | 3 +++ README.md | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index fe3d545..74b731a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -30,3 +30,6 @@ SOURCES = \ guix-web/view.scm EXTRA_DIST += env.in + +dev-server: + ./pre-inst-env scripts/guix-web diff --git a/README.md b/README.md index f97db50..bf1df0f 100644 --- a/README.md +++ b/README.md @@ -26,8 +26,8 @@ Wishlist Use --- -Simply run `./pre-inst-env guix-web` and visit `localhost:8080` in -your web browser. +To run guix-web from the root of the source tree, simply run `make +dev-server` and visit `localhost:8080` in your web browser. Dependencies ------------ -- cgit v1.2.3