summaryrefslogtreecommitdiff
path: root/doc/Rookbook.yaml
blob: 4cb04343ced84c2e72b72a3643dc5f4d272c084b (plain)
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

properties:
  - tagfile    : html-css

variables:
  - u          : users-guide
  - all        : [ $(u).html ]

recipes:

  - product:	:default
    ingreds:	[ :all ]

  - product:	:all
    ingreds:	[ $(all) ]

  - product:	$(u).html
    ingreds:	[ $(u).txt ]
    byprods:	[ $(u).toc.html ]
    method: |
	rm_rf "guide.d"
	mkdir_p "guide.d"
	cmd "retrieve -d guide.d #{@ingred}"
	cmd "kwaser -t $(tagfile) -T #{@ingred} > #{@byprod}"
	cmd "kwaser -t $(tagfile)    #{@ingred} > #{@product}"
	rm "#{@byprod}"