basewiki integration

master
joey 2006-03-19 21:51:39 +00:00
parent 470c46c794
commit f0d7a5ee1a
3 changed files with 8 additions and 1 deletions

View File

@ -23,6 +23,9 @@ extra_clean:
extra_install: extra_install:
install -d $(PREFIX)/share/ikiwiki/templates install -d $(PREFIX)/share/ikiwiki/templates
cp templates/* $(PREFIX)/share/ikiwiki/templates cp templates/* $(PREFIX)/share/ikiwiki/templates
install -d $(PREFIX)/share/ikiwiki/basewiki
cp basewiki/* $(PREFIX)/share/ikiwiki/basewiki
} }
} }

2
debian/rules vendored
View File

@ -24,6 +24,8 @@ binary-indep: build
$(MAKE) pure_install INSTALLDIRS=vendor \ $(MAKE) pure_install INSTALLDIRS=vendor \
PREFIX=$(shell pwd)/debian/ikiwiki/$(shell perl -MConfig -e 'print $$Config{prefix}') PREFIX=$(shell pwd)/debian/ikiwiki/$(shell perl -MConfig -e 'print $$Config{prefix}')
dh_installdocs html dh_installdocs html
dh_link usr/share/ikiwiki/basewiki \
usr/share/doc/ikiwiki/examples/basewiki
dh_installman ikiwiki.man dh_installman ikiwiki.man
dh_installchangelogs dh_installchangelogs
dh_compress dh_compress

View File

@ -18,7 +18,9 @@ optional support for commits from the web.
svn co file:///svn/wikirepo/trunk ~/wikiwc 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 "Welcome to my empty wiki." > ~/wikiwc/index.mdwn
echo "Feel free to edit this page" > ~/wikiwc/sandbox.mdwn echo "Feel free to edit this page" > ~/wikiwc/sandbox.mdwn