summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2015-12-01 13:54:44 +0100
committerLinus Nordberg <linus@nordberg.se>2015-12-01 13:57:56 +0100
commit8921750aa4f89ad1a3258cc29ed264e602b22ce4 (patch)
tree49d03deb85e3846bff8115c04d30ca4ddef8859c /Makefile
parentff504029432852faef500497fc586f8fdc46bf37 (diff)
Build HTML in /var/www/radsecproxy/.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 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)
+