26 lines
881 B
Scheme
26 lines
881 B
Scheme
|
(makefile
|
||
|
(makefile-rule "/home/johannes/.tmp/skills.tex"
|
||
|
'()
|
||
|
(lambda ()
|
||
|
(with-cwd "/home/johannes/.tmp"
|
||
|
(display "Top: /home/johannes/.tmp/skills.tex"))))
|
||
|
(makefile-rule "/home/johannes/.tmp/skills.dvi"
|
||
|
"/home/johannes/.tmp/skills.tex"
|
||
|
(lambda ()
|
||
|
(with-cwd "/home/johannes/.tmp"
|
||
|
(begin
|
||
|
(run (latex ,"/home/johannes/.tmp/skills.tex"))
|
||
|
(run (dvicopy ,"/home/johannes/.tmp/skills.dvi"
|
||
|
,"/home/johannes/.tmp/skills.dvicopy"))
|
||
|
(rename-file "/home/johannes/.tmp/skills.dvicopy"
|
||
|
"/home/johannes/.tmp/skills.dvi"
|
||
|
#t)))))
|
||
|
(makefile-rule "/home/johannes/.tmp/skills.pdf"
|
||
|
"/home/johannes/.tmp/skills.dvi"
|
||
|
(lambda ()
|
||
|
(with-cwd "/home/johannes/.tmp"
|
||
|
(run (dvipdfm -o ,"/home/johannes/.tmp/skills.pdf"
|
||
|
,"/home/johannes/.tmp/skills.dvi"))))))
|
||
|
|
||
|
(make "/home/johannes/.tmp/skills.pdf")
|