aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2014-06-25 22:18:37 +0100
committerChristopher Baines <mail@cbaines.net>2014-06-27 23:09:45 +0100
commit26ae2af16b137034912c366147db5ed87182cb7d (patch)
treeb2537a07b80a685702fc7ee26133ca9b5b656b97 /Makefile
downloadalbum-examples-26ae2af16b137034912c366147db5ed87182cb7d.tar
album-examples-26ae2af16b137034912c366147db5ed87182cb7d.tar.gz
Initial commit
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