File: mkfile

package info (click to toggle)
lua-lemock 0.6-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 512 kB
  • sloc: makefile: 2
file content (20 lines) | stat: -rw-r--r-- 488 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
MKSHELL = rc

all:V: htdocs

wrappers  = `{find www -name '*.t2t'}
htmls = ${wrappers:www/%.t2t=htdocs/%.html}

htdocs:V: $htmls

$htmls: www/menubar.html
htdocs/COPYRIGHT.html: ../COPYRIGHT
htdocs/DEVEL.html:     ../DEVEL
htdocs/HISTORY.html:   ../HISTORY
htdocs/README.html:    ../README

htdocs/%.html: www/%.t2t
	txt2tags -t html -i www/$stem.t2t -o $target

htdocs/userguide.html: www/userguide.t2t userguide.t2t
	txt2tags -t html --toc --toc-level 2 -i www/userguide.t2t -o $target