aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xMakefile.PL3
-rwxr-xr-xdebian/rules2
-rw-r--r--doc/setup.mdwn4
3 files changed, 8 insertions, 1 deletions
diff --git a/Makefile.PL b/Makefile.PL
index d51334c1f..5ca5e1259 100755
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -23,6 +23,9 @@ extra_clean:
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
}
}
diff --git a/debian/rules b/debian/rules
index b65fa72f9..b1ae6dd1f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -24,6 +24,8 @@ binary-indep: build
$(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
diff --git a/doc/setup.mdwn b/doc/setup.mdwn
index a54a73388..df553cfb3 100644
--- a/doc/setup.mdwn
+++ b/doc/setup.mdwn
@@ -18,7 +18,9 @@ optional support for commits from the web.
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