summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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)
+