arnebab - a personal site published from org-mode
=================================================
See NEWS for user-visible changes.
See ChangeLog or the history for detailed changes.
## Usage
To see what you can do, just run
$ make help
Also see draketo.el for supporting tools.
## Requirements
- Emacs http://gnu.org/s/emacs
- org-mode http://orgmode.org
- make
- autoconf
- automake
- imagemagick
- pngcrush
- pngquant
- gnuplot
- plantuml
## Upload
Just export the changed page as PDF, then use
$ make && hg push
This relies on having push hooks set up in `.hg/hgrc`, for example like this:
[hooks]
post-push.draketo = cd site && lftp -e 'mirror --ignore-time -R; bye' ftp://USER:PASSWORD@user.example.com/path/to/site
post-push.kav = rsync -ruv --exclude=.htaccess site/ kav:arnebab-org/site && (ssh kav arnebab-org/convert-for-freenet.sh && ssh kav freesitemgr update arnebab-org ) &
## Recreate PDFs
FIXME: broken title in export.
Xvfb :3 -screen 0 1024x768x16 &
for i in anderes/ ich/ kreatives/ politik/ rollenspiel/ software/ wissen/; do
(cd $i; for j in *.org; do
echo $j
DISPLAY=:3 HOME="$HOME/Schreibtisch/arnebab-org" emacs --load ../.emacs.d/init.el --load ../setup.el $j --eval "(setq org-babel-ditaa-java-cmd \"LD_LIBRARY_PATH=$${LD_LIBRARY_PATH}:$$HOME/.guix-profile/lib/ java\" plantuml-executable-path \"plantuml\" org-plantuml-jar-path \"$${GUIX_ENVIRONMENT=/home/$(whoami)/.guix-profile}/share/java/plantuml.jar\" org-plantuml-exec-mode 'plantuml user-full-name \"Dr. Arne Babenhauserheide\")" -f org-latex-export-to-pdf -f kill-emacs;
done);
done
## Contributors
See AUTHORS
## Release Process
* Check/Update NEWS
* Increase version in configure.ac (see semver.org)
* Commit, merge to stable and tag (see branching[1])
$ autoreconf -i && ./configure && make distcheck
If you change the project name, you need to adjust the :exclude regexp
in setup.el.in to keep make distcheck working.
[1]: See do a release in
http://www.draketo.de/branching-strategy#action-maintainer