summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile5
-rw-r--r--README17
-rw-r--r--acf.conf2
3 files changed, 18 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 73e35f4..dc80c6d 100644
--- a/Makefile
+++ b/Makefile
@@ -8,6 +8,7 @@ DISTPKG=$(P).tar.bz2
SUBDIRS=app lib www
EXTRA_DIST=ChangeLog Makefile README TODO
+CONF_FILES=acf.conf
DISTFILES=$(EXTRA_DIST)
@@ -48,6 +49,8 @@ $(DISTPKG): distdir $(DISTFILES)
rm -r $(DISTDIR)
phony+=install
-install: install-recursive
+install: install-recursive $(CONF_FILES)
+ mkdir -p $(DESTDIR)/etc/acf
+ cp $(CONF_FILES) $(DESTDIR)/etc/acf
.PHONY: $(phony)
diff --git a/README b/README
index b5d8df5..adbc1a2 100644
--- a/README
+++ b/README
@@ -1,11 +1,18 @@
Alpine Configuration Framework
(A work in progress.)
-You can checout from svn to another location and run "make checkpkg DESTDIR=/"
-to make sure that all files get included in dist package.
+To install the package run:
-The config file should be in /etc/acf/acf.conf and contain:
+ make install
-appdir=/var/lib/acf/app/
+To set up mini_httpd create a /etc/mini_httpd.conf file containing:
+nochroot
+dir=/usr/share/acf/www
+user=nobody
+logfile=/var/log/mini_httpd.log
+cgipat=cgi-bin/*
+#host=<ip-addr>
-(or wherever your app dir is)
+Then start mini_httpd with:
+
+ mini_httpd -C /etc/mini_httpd.conf
diff --git a/acf.conf b/acf.conf
new file mode 100644
index 0000000..f3718ff
--- /dev/null
+++ b/acf.conf
@@ -0,0 +1,2 @@
+appdir=/usr/share/acf/app/
+libdir=/usr/share/acf/lib/