source: trunk/kBuild/doc/Makefile.kmk@ 2341

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 
1TXTFILES = \
2 QuickReference-kmk.txt \
3 QuickReference-kBuild.txt
4
5define genrule
6all: $(name).html
7clean::
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
13endef
14
15$(foreach name, $(basename $(TXTFILES)), $(eval $(genrule)))
16
Note: See TracBrowser for help on using the repository browser.