aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index aa74c33..0d50c5d 100644
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,10 @@ ikiwiki:
ikiwiki-dest: ikiwiki
cd ikiwiki && perl Makefile.PL PREFIX=../ikiwiki-dest && make && make install
-img: ikiwiki-dest
+img.git:
+ git clone git://git.cbaines.net/ikiwiki/annex-examples/img img.git
+
+img: ikiwiki-dest img.git
export PERL5LIB=`pwd`/ikiwiki && PATH=ikiwiki-dest/bin:$(PATH); ikiwiki --setup img.setup
clean: