# HG changeset patch # User steve # Date 1187047323 0 # Node ID 6d7827134a4fe9cd27592a2bbaa67cf5bc9d20b5 # Parent f9858b3bcca04784b44fda976a87e421c568a869 2007-08-13 23:22:03 by steve Updated defaults to work with a new install. diff -r f9858b3bcca0 -r 6d7827134a4f Makefile --- 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 diff -r f9858b3bcca0 -r 6d7827134a4f etc/chroniclerc --- 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