changeset 10:6d7827134a4f

2007-08-13 23:22:03 by steve Updated defaults to work with a new install.
author steve
date Mon, 13 Aug 2007 23:22:03 +0000
parents f9858b3bcca0
children 057cd84ce271
files Makefile etc/chroniclerc
diffstat 2 files changed, 18 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Mon Aug 13 23:17:15 2007 +0000
+++ b/Makefile	Mon Aug 13 23:22:03 2007 +0000
@@ -8,7 +8,7 @@
 # --
 # http://www.steve.org.uk/
 #
-# $Id: Makefile,v 1.2 2007-08-13 22:55:11 steve Exp $
+# $Id: Makefile,v 1.3 2007-08-13 23:22:03 steve Exp $
 
 
 #
@@ -54,6 +54,17 @@
 
 
 #
+#  Install to /usr/local/bin
+#
+install:
+	cp ./etc/chroniclerc ${prefix}/etc/chroniclerc
+	mkdir -p ${prefix}/usr/local/bin
+	cp ./bin/chronicle ${prefix}/usr/local/bin
+	mkdir -p ${prefix}/usr/share/chronicle/themes/default
+	cp -r ./themes/default/*.* ${prefix}/usr/share/chronicle/themes/default
+
+
+#
 #  Make a new release tarball, and make a GPG signature.
 #
 release: clean
--- a/etc/chroniclerc	Mon Aug 13 23:17:15 2007 +0000
+++ b/etc/chroniclerc	Mon Aug 13 23:22:03 2007 +0000
@@ -23,7 +23,7 @@
 #
 #  Input directory
 # 
-input = /home/skx/cvs/chronicle/blog
+input = ./blog
 
 
 #
@@ -36,13 +36,13 @@
 #
 #  Output directory to write the blog to
 #
-output = /home/skx/cvs/chronicle/output
+output = ./output
 
 
 #
 #  Directory containing the templates
 #
-template = /home/skx/cvs/chronicle/themes/default
+template = /usr/share/chronicle/themes/default
 
 
 #
@@ -76,7 +76,7 @@
 #
 #  URL prefix, if any.
 #
-url_prefix = http://www.steve.org.uk/Software/chronicle/demo/
+url_prefix = http://example.com/
 
 
 #
@@ -88,4 +88,5 @@
 #
 #  A command to run post-build.
 #
-# post-build = scp -r output/* steve@www.steve.org.uk:/home/www/www.steve.org.uk/htdocs/Software/chronicle/demo
+# post-build = scp -r output/* user@host:/some/path
+#
\ No newline at end of file