aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..cc8f49b
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,13 @@
+
+ikiwiki:
+ git clone -b album git://git.cbaines.net/ikiwiki
+
+ikiwiki-dest: ikiwiki
+ cd ikiwiki && perl Makefile.PL PREFIX=../ikiwiki-dest && make && make install
+
+all: ikiwiki-dest
+ export PERL5LIB=`pwd`/ikiwiki && PATH=ikiwiki-dest/bin:$(PATH); find . -maxdepth 1 -name "*\.setup" -exec ikiwiki --setup {} \;
+
+clean:
+ rm -rf ikiwiki-dest
+ rm -rf dest