mirror of
git://git.psyc.eu/libpsyc
synced 2024-08-15 03:19:02 +00:00
bench: moved packets to separate files, put results in the main document
This commit is contained in:
parent
a9e8d94bdd
commit
e9f1368fc0
19 changed files with 166 additions and 459 deletions
|
@ -8,22 +8,7 @@ INIT = (setq load-path (cons \"/usr/share/emacs/site-lisp/org-mode\" load-path)
|
|||
org-src-preserve-indentation t) \
|
||||
(require 'org-install)
|
||||
|
||||
ORG = benchmark.org results.org
|
||||
|
||||
wiki2org:
|
||||
perl -pe '\
|
||||
s/^= (.*) =\s*$$/#+TITLE: $$1\n/; \
|
||||
s/^== (.*) ==\s*$$/* $$1/; \
|
||||
s/^=== (.*) ===\s*$$/** $$1/; \
|
||||
s/^{{{/#+BEGIN_SRC/; \
|
||||
s/^}}}/#+END_SRC/ \
|
||||
' benchmark.wiki >benchmark.org
|
||||
|
||||
packets:
|
||||
emacs -Q --batch --eval \
|
||||
"(progn ${INIT} (find-file \"benchmark.org\") \
|
||||
(org-babel-tangle) (kill-buffer))"
|
||||
perl -pi -e 'print "\n" unless $$p; $$p=1' packets/user_profile.psyc
|
||||
ORG = benchmark.org
|
||||
|
||||
html:
|
||||
for f in ${ORG}; do \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue