extra_install:
install -d $(PREFIX)/share/ikiwiki/templates
cp templates/* $(PREFIX)/share/ikiwiki/templates
+
+ install -d $(PREFIX)/share/ikiwiki/basewiki
+ cp basewiki/* $(PREFIX)/share/ikiwiki/basewiki
}
}
$(MAKE) pure_install INSTALLDIRS=vendor \
PREFIX=$(shell pwd)/debian/ikiwiki/$(shell perl -MConfig -e 'print $$Config{prefix}')
dh_installdocs html
+ dh_link usr/share/ikiwiki/basewiki \
+ usr/share/doc/ikiwiki/examples/basewiki
dh_installman ikiwiki.man
dh_installchangelogs
dh_compress
svn co file:///svn/wikirepo/trunk ~/wikiwc
-4. Create some files and add them into subversion.
+4. Create some files and add them into subversion. Or you might copy the
+ files from /usr/share/ikiwiki/basewiki and check those in to get a
+ head start on creating your wiki.
echo "Welcome to my empty wiki." > ~/wikiwc/index.mdwn
echo "Feel free to edit this page" > ~/wikiwc/sandbox.mdwn