mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2024-12-28 14:12:24 +02:00
Fixed some smaller bugs and slightly improved formatting of commit entries.
- scripts/schhist2web: when starting, remove html_* and pdf_* - scripts/schps2pdf: corrected quoting of sheet title derived from file name (produced many error messages and caused garbled titles in the overall schematics) - scripts/schhist2web: indent date in commit entry such that it's flush with the author
This commit is contained in:
parent
78f6cfbfda
commit
a0cdb1e365
@ -65,7 +65,7 @@ commit_entry()
|
||||
EOF
|
||||
echo "<PRE>"
|
||||
( cd "$dir" && git show \
|
||||
--pretty=format:"%aN <%aE>%n%ad, %ar%n%n %s" \
|
||||
--pretty=format:"%aN <%aE>%n %ad, %ar%n%n %s" \
|
||||
--quiet $next; ) |
|
||||
sed 's/&/&/g;s/</\</g;s/>/\>/g' |
|
||||
if [ -z "$SCHHIST_COMMIT_TEMPLATE" ]; then
|
||||
@ -171,7 +171,7 @@ PATH=`dirname "$0"`:"$PATH"
|
||||
first=`gitenealogy "$dir" "$sch" | sed '$s/ .*//p;d'`
|
||||
schname=`gitenealogy "$dir" "$sch" | sed '$s/^.* //p;d'`
|
||||
|
||||
rm -rf "$out/diff_*" "$out/thumb_*" "$out/names"
|
||||
rm -rf "$out/diff_*" "$out/thumb_*" "$out/html_*" "$out/pdf_*" "$out/names"
|
||||
$no_cache && rm -rf "$cache"
|
||||
mkdir -p "$out/names"
|
||||
mkdir -p "$cache"
|
||||
|
@ -53,7 +53,7 @@ shift
|
||||
eval gs -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=\""$out\"" -f \
|
||||
`export i=1; for n in "$in" "$@"; do \
|
||||
i=\`expr $i + 1\`;
|
||||
echo "<(sheet=\`basename \"$n\" .ps\`;
|
||||
echo "<(sheet=\"\`basename \"$n\" .ps\`\";
|
||||
set x $titles; i=\`expr $i + 1\`; eval t='\\$$i';
|
||||
$toc && echo '[ /Title ('\"\\${t:-\\${sheet#$prefix}}\"') /OUT pdfmark';
|
||||
cat \"$n\";)"; done`
|
||||
|
Loading…
Reference in New Issue
Block a user