aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 9d07c8bb959677eccc0a0ebc4b84c634604ac95a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
ikiwiki:
	git clone -b album git://git.cbaines.net/ikiwiki

ikiwiki-dest: ikiwiki
	cd ikiwiki && perl Makefile.PL PREFIX=../ikiwiki-dest && make && make install

.PHONY: basic large

basic: ikiwiki-dest
	export PERL5LIB=`pwd`/ikiwiki && PATH=ikiwiki-dest/bin:$(PATH); find . -maxdepth 1 -name "basic*\.setup" -exec ikiwiki --setup {} \;

large: ikiwiki-dest
	export PERL5LIB=`pwd`/ikiwiki && PATH=ikiwiki-dest/bin:$(PATH); find . -maxdepth 1 -name "large*\.setup" -exec ikiwiki --setup {} \;

all: basic large

clean:
	rm -rf ikiwiki-dest
	rm -rf dest