basewiki integration
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Sun, 19 Mar 2006 21:51:39 +0000 (21:51 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Sun, 19 Mar 2006 21:51:39 +0000 (21:51 +0000)
Makefile.PL
debian/rules
doc/setup.mdwn

index d51334c1fce62e2f41af0ac40ea96d05732cbfe6..5ca5e1259b1721c39878f18d6bd2efd1f5fb423f 100755 (executable)
@@ -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
 }
 }
 
index b65fa72f9e9b4f281ace1cd02ae317291be4a685..b1ae6dd1f9af55da3dbf4aa4f07a4198cbce37d5 100755 (executable)
@@ -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
index a54a733886b5d47dc5b91ae4e15b5802773312d4..df553cfb32f57b57feeeb1711a885f87d16891e4 100644 (file)
@@ -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