From f0d7a5ee1a9fe6ea28b63544904e5126faad12ec Mon Sep 17 00:00:00 2001 From: joey Date: Sun, 19 Mar 2006 21:51:39 +0000 Subject: [PATCH] basewiki integration --- Makefile.PL | 3 +++ debian/rules | 2 ++ doc/setup.mdwn | 4 +++- 3 files changed, 8 insertions(+), 1 deletion(-) 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 -- 2.26.2