swh:1:snp:c7c108084bc0bf3d81436bf980b46e98bd338453
Tip revision: 360089c0bffc055882a62cc3092a0370de1e4432 authored by johannes hanika on 26 January 2016, 09:02:30 UTC
30bit: initial support for 30-bit cairo surfaces. breaks 24-bit setups.
30bit: initial support for 30-bit cairo surfaces. breaks 24-bit setups.
Tip revision: 360089c
makeman.sh
#!/bin/sh
set -e;
input="$1"
authors="$2"
output="$3"
r=`sed -n 's,.*\$Release: \(.*\)\$$,\1,p' "$input"`;
d=`sed -n 's,/,-,g;s,.*\$Date: \(..........\).*,\1,p' "$input"`;
D=""
if [ -n "$d" ]; then
D="--date=$d"
fi
pod2man --utf8 --release="darktable $r" --center="darktable" $D "$input" \
| sed -e '/.*DREGGNAUTHORS.*/r '"$authors" | sed -e '/.*DREGGNAUTHORS.*/d' \
> tmp.$$$$ \
&& mv -f tmp.$$$$ "$output"