INSTALL v 0.8.0 2009/09/27
Chris Lale
chrislale@users.berlios.de


These are the instructions for installing the newbiedoc package on a Debian GNU/Linux system using the tarball newbiedoc-0.8.0.tar.gz as source. 

Overview
--------
The installation process is governed by a Makefile and involves some helper scripts. 

"make all" invokes the "download", "createweb" and "modify" scripts. The resulting directory structure and files are already included in the package (subdirectory newbiedoc.berlios.de). There is no need to repeat this process. In fact, it is not recommended since the wiki is constantly changing and the "newbiedoc-urls.txt" may stop corresponding with the index page on the wiki. "download" is used to download pages specified in "newbiedoc-urls.txt" from the NewbieDOC wiki (http://newbiedoc.berlios.de). "modify" strips out wiki functionality from the downloaded pages using sed and the rules in "newbiedoc.sed". "createweb" uses "modify", "find" and "rename" to create the local website.

"make install" places an executable script "newbiedoc" in /usr/bin and the documentation files in /usr/share/doc/newbiedoc/.

"make uninstall" removes the executable script "newbiedoc" from /usr/bin and the directory /usr/share/doc/newbiedoc/ and its contents.

How to install
--------------
Untar the package to a working directory eg 
	$ tar -xzvf newbiedoc-0.8.0.tar.gz

Move to the resulting directory:
	$ cd newbiedoc-0.8.0

Run "make install" as user root:
	# make install
	
How to uninstall
----------------
Move to the directory containing the Makefile:
	$ cd /path/to/package/files/newbiedoc-0.8.0

Run "make uninstall" as user root:
	# make uninstall
