429c8025 |
1 | #!/bin/sh |
2 | |
3 | #(cd src/unknownlamer.org && darcs add *.muse; darcs whatsnew && darcs record --all) |
4 | |
5 | (cd site/unknownlamer.org-repo && darcs pull) |
6 | |
6c150d6a |
7 | (cd site-support && clisp -i ./books.lisp -x '(dump-muse-books-file)') |
429c8025 |
8 | |
9 | if [ "$1" = "--force" ]; then |
10 | emacsclient --eval '(muse-project-publish "unknownlamer.org-clean" t)' |
11 | else |
12 | emacsclient --eval '(muse-project-publish "unknownlamer.org-clean")' |
13 | fi |
14 | |
6c150d6a |
15 | # something is broken in my muse setup but just work around it for now |
16 | rm -f site/unknownlamer.org/index.html |
17 | emacsclient --eval '(muse-project-publish "unknownlamer.org-clean")' |
18 | |
429c8025 |
19 | cd site/unknownlamer.org |
20 | darcs pull ../unknownlamer.org-repo |
21 | find . -name \* -print0 | xargs -0 darcs add |
22 | darcs record --all |
23 | darcs push /afs/hcoop.net/user/c/cl/clinton/public_html/unknownlamer.org/www/muse |