Last change
on this file since 2341 was 2341, checked in by bird, 16 years ago |
kickoff for the kBuild docs.
|
-
Property svn:eol-style
set to
native
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
314 bytes
|
Line | |
---|
1 | TXTFILES = \
|
---|
2 | QuickReference-kmk.txt \
|
---|
3 | QuickReference-kBuild.txt
|
---|
4 |
|
---|
5 | define genrule
|
---|
6 | all: $(name).html
|
---|
7 | clean::
|
---|
8 | kmk_rm -f $(name).html
|
---|
9 | $(name).html: $(name).txt
|
---|
10 | LC_ALL=C rst2html.py --no-generator $$< $$@
|
---|
11 | $(name).o: $(name).html
|
---|
12 | .PHONY: $(name).o
|
---|
13 | endef
|
---|
14 |
|
---|
15 | $(foreach name, $(basename $(TXTFILES)), $(eval $(genrule)))
|
---|
16 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.