IEEE 802.15.4 subsystem
Sign in or create your account | Project List | Help
IEEE 802.15.4 subsystem Commit Details
Date: | 2010-08-31 01:16:34 (13 years 6 months ago) |
---|---|
Author: | Werner Almesberger |
Commit: | a0cdb1e3653c4b55aa5251970399d40ffd736c72 |
Message: | 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 |
Files: |
scripts/schhist2web (2 diffs) scripts/schps2pdf (1 diff) |
Change Details
scripts/schhist2web | ||
---|---|---|
65 | 65 | EOF |
66 | 66 | echo "<PRE>" |
67 | 67 | ( cd "$dir" && git show \ |
68 | --pretty=format:"%aN <%aE>%n%ad, %ar%n%n %s" \ | |
68 | --pretty=format:"%aN <%aE>%n %ad, %ar%n%n %s" \ | |
69 | 69 | --quiet $next; ) | |
70 | 70 | sed 's/&/&/g;s/</\</g;s/>/\>/g' | |
71 | 71 | if [ -z "$SCHHIST_COMMIT_TEMPLATE" ]; then |
... | ... | |
171 | 171 | first=`gitenealogy "$dir" "$sch" | sed '$s/ .*//p;d'` |
172 | 172 | schname=`gitenealogy "$dir" "$sch" | sed '$s/^.* //p;d'` |
173 | 173 | |
174 | rm -rf "$out/diff_*" "$out/thumb_*" "$out/names" | |
174 | rm -rf "$out/diff_*" "$out/thumb_*" "$out/html_*" "$out/pdf_*" "$out/names" | |
175 | 175 | $no_cache && rm -rf "$cache" |
176 | 176 | mkdir -p "$out/names" |
177 | 177 | mkdir -p "$cache" |
scripts/schps2pdf | ||
---|---|---|
53 | 53 | eval gs -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=\""$out\"" -f \ |
54 | 54 | `export i=1; for n in "$in" "$@"; do \ |
55 | 55 | i=\`expr $i + 1\`; |
56 | echo "<(sheet=\`basename \"$n\" .ps\`; | |
56 | echo "<(sheet=\"\`basename \"$n\" .ps\`\"; | |
57 | 57 | set x $titles; i=\`expr $i + 1\`; eval t='\\$$i'; |
58 | 58 | $toc && echo '[ /Title ('\"\\${t:-\\${sheet#$prefix}}\"') /OUT pdfmark'; |
59 | 59 | cat \"$n\";)"; done` |