From f299cca70928759f04d44d81d6c2f0f6f9388e1b Mon Sep 17 00:00:00 2001 From: David Thompson Date: Sun, 4 Jan 2015 22:23:47 -0500 Subject: Add serve command. * haunt/config.scm: New file. * haunt/serve/mime-types.scm: New file. * haunt/serve/web-server.scm: New file. * haunt/ui/serve.scm: New file. * haunt/ui.scm (commands, program-name): New variables. (show-haunt-help): Display possible commands. (run-haunt-command): New procedure. (haunt-main): Run subcommands. * Makefile.am (SOURCES): Add files. --- Makefile.am | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index bd0437d..65d1d81 100644 --- a/Makefile.am +++ b/Makefile.am @@ -40,6 +40,10 @@ moddir=$(prefix)/share/guile/site/2.0 godir=$(libdir)/guile/2.0/ccache SOURCES = \ - haunt/ui.scm + haunt/config.scm \ + haunt/ui.scm \ + haunt/ui/serve.scm \ + haunt/serve/mime-types.scm \ + haunt/serve/web-server.scm EXTRA_DIST += pre-inst-env.in -- cgit v1.2.3