1
0
Fork 0

Added txt version of inheritance example to doc and altered Makefile to rebuild text-based targets on text image modifications

closure/master
Mike Gerwitz 2011-03-20 02:46:01 -04:00
parent fba584171c
commit c1f12fb537
3 changed files with 17 additions and 2 deletions

View File

@ -24,6 +24,7 @@ src_js := index.js $(wildcard $(PATH_LIB)/*.js)
src_tests := index.js $(wildcard $(PATH_TEST)/test-*) src_tests := index.js $(wildcard $(PATH_TEST)/test-*)
doc_src := $(wildcard $(PATH_DOC)/*.texi) doc_src := $(wildcard $(PATH_DOC)/*.texi)
doc_imgs := $(patsubst %.dia, %.png, $(wildcard $(PATH_DOC_IMG)/*.dia)) doc_imgs := $(patsubst %.dia, %.png, $(wildcard $(PATH_DOC_IMG)/*.dia))
doc_imgs_txt := $(patsubst %.dia, %.png, $(wildcard $(PATH_DOC_IMG)/*.txt))
COMBINE=${PATH_TOOLS}/combine COMBINE=${PATH_TOOLS}/combine
@ -81,11 +82,11 @@ $(PATH_DOC_OUTPUT)/%.pdf: $(doc_src) | mkbuild-doc doc-img
cd "$(PATH_DOC)" && rm -f $(shell cat "$(PATH_DOC)/.gitignore") cd "$(PATH_DOC)" && rm -f $(shell cat "$(PATH_DOC)/.gitignore")
# doc info # doc info
$(PATH_DOC_OUTPUT_INFO): $(doc_src) | mkbuild-doc $(PATH_DOC_OUTPUT_INFO): $(doc_src) $(doc_imgs_txt) | mkbuild-doc
makeinfo -I "$(PATH_DOC)" -o $@ "$(PATH_MANUAL_TEXI)"; makeinfo -I "$(PATH_DOC)" -o $@ "$(PATH_MANUAL_TEXI)";
# doc plain text # doc plain text
$(PATH_DOC_OUTPUT_PLAIN): | mkbuild-doc $(PATH_DOC_OUTPUT_PLAIN): $(doc_imgs_txt) | mkbuild-doc
makeinfo --plain -I "$(PATH_DOC)" "${PATH_MANUAL_TEXI}" > $@ makeinfo --plain -I "$(PATH_DOC)" "${PATH_MANUAL_TEXI}" > $@
# doc html (multiple pages) # doc html (multiple pages)

1
doc/img/.gitignore vendored 100644
View File

@ -0,0 +1 @@
*.png

View File

@ -0,0 +1,13 @@
,---------,
| Dog |
|---------|
| +walk() |
`---------`
^
,_______|________,
| |
,---------, ,--------------,
| LazyDog | | TwoLeggedDog |
|---------| |--------------|
| +walk() | | +walk() |
`---------` `--------------`