summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile7
-rwxr-xr-xpackaging/docker/start.sh6
2 files changed, 8 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 0821f85..865758d 100644
--- a/Makefile
+++ b/Makefile
@@ -7,8 +7,10 @@ else
IKIWIKI=ikiwiki
endif
+DESTDIR ?= html
+
all:
- $(IKIWIKI) `pwd` html -v --wikiname radsecproxy \
+ $(IKIWIKI) `pwd` $(DESTDIR) -v --wikiname radsecproxy \
--plugin=goodstuff \
--plugin=sidebar \
--exclude=html \
@@ -17,4 +19,5 @@ all:
--exclude=packaging
clean:
- rm -rf .ikiwiki html
+ rm -rf .ikiwiki $(DESTDIR)
+
diff --git a/packaging/docker/start.sh b/packaging/docker/start.sh
index f518ca9..fe47429 100755
--- a/packaging/docker/start.sh
+++ b/packaging/docker/start.sh
@@ -1,5 +1,5 @@
#! /bin/sh
-if [ -f /var/www/Makefile ]; then
- make -C /var/www
+
+if [ -f /usr/local/src/radsecproxy-web/Makefile ]; then
+ make -C /usr/local/src/radsecproxy-web DESTDIR=/var/www/radsecproxy
fi
-/usr/sbin/lighttpd -D -f /etc/lighttpd/lighttpd.conf