-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathclem-doc.asd
92 lines (74 loc) · 3.62 KB
/
clem-doc.asd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
(asdf:operate 'asdf:load-op :asdf-objects)
(asdf:operate 'asdf:load-op :smarkup)
(defpackage #:clem-doc-system (:use #:cl #:asdf #:asdf-objects #:smarkup))
(in-package #:clem-doc-system)
(defclass clem-mixin () ())
(defmethod perform ((op compile-op) (c clem-mixin))
(let ((*default-pathname-defaults*
(component-pathname (component-parent c))))
(call-next-method)))
(defmethod perform ((op load-op) (c clem-mixin))
(let ((*default-pathname-defaults*
(component-pathname (component-parent c))))
(call-next-method)))
(defmethod perform ((op asdf-objects:generate-op) (c clem-mixin))
(let ((*default-pathname-defaults*
(component-pathname (component-parent c))))
(call-next-method)))
(defclass my-filtered-object (clem-mixin smarkup:filtered-object) ())
(defclass my-object-latex-file (clem-mixin smarkup:object-latex-file) ())
(defclass my-object-cl-pdf-file (clem-mixin smarkup:object-cl-pdf-file) ())
(defsystem :clem-doc
:name "clem-doc"
:author "Cyrus Harmon"
:version "0.4.8"
:licence "BSD"
:depends-on (asdf-objects clem smarkup)
:components
((:static-file "make-tinaa-docs" :pathname #p"make-tinaa-docs.lisp")
(:module
:doc
:components
((:smarkup-object-from-file :clem-sexp
:pathname #p"clem.sexp")
(:my-filtered-object :clem-filtered-sexp
:filters (:lisp :smarkup-metadata :ref)
:depends-on (:clem-sexp)
:input-object :clem-sexp)
(:my-filtered-object :clem-html-filtered-sexp
:filters (:html-metadata)
:depends-on (:clem-filtered-sexp)
:input-object :clem-filtered-sexp)
(:my-filtered-object :clem-pdf-filtered-sexp
:filters (:html-metadata)
:depends-on (:clem-filtered-sexp)
:input-object :clem-filtered-sexp)
(:object-cl-pdf-file :clem-pdf
:pathname #p"clem.pdf"
:depends-on (:clem-pdf-filtered-sexp)
:input-object :clem-pdf-filtered-sexp)
(:object-xhtml-file :clem-xhtml
:pathname #p"clem.xhtml"
:depends-on (:clem-html-filtered-sexp)
:input-object :clem-html-filtered-sexp)
(:smarkup-object-from-file :clem-performance-sexp
:pathname #p"clem-performance.sexp")
(:my-filtered-object :clem-performance-filtered-sexp
:filters (:lisp :smarkup-metadata :ref)
:depends-on (:clem-performance-sexp)
:input-object :clem-performance-sexp)
(:object-cl-pdf-file :clem-performance-pdf
:pathname #p"clem-performance.pdf"
:depends-on (:clem-performance-filtered-sexp)
:input-object :clem-performance-filtered-sexp)
(:my-filtered-object :clem-performance-html-filtered-sexp
:filters (:html-metadata)
:depends-on (:clem-performance-filtered-sexp)
:input-object :clem-performance-filtered-sexp)
(:object-xhtml-file :clem-performance-xhtml
:pathname #p"clem-performance.xhtml"
:depends-on (:clem-performance-html-filtered-sexp)
:input-object :clem-performance-html-filtered-sexp)
(:css-file :simple)
(:static-file "clem-bib" :pathname #p"clem.bib")
(:module :tinaa)))))