diff options
| -rw-r--r-- | Makefile | 7 | ||||
| -rwxr-xr-x | packaging/docker/start.sh | 6 | 
2 files changed, 8 insertions, 5 deletions
| @@ -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 | 
