1
0
Fork 0

Documentation is now properly rebuilt when Dia files are modified

closure/master
Mike Gerwitz 2011-03-20 18:36:03 -04:00
parent ba48e7994e
commit ca564e5aea
1 changed files with 2 additions and 2 deletions

View File

@ -73,7 +73,7 @@ doc/img/%.png: doc/img/%.dia
dia -e $@ -s 300x $< dia -e $@ -s 300x $<
# doc pdf # doc pdf
$(PATH_DOC_OUTPUT)/%.pdf: $(doc_src) | mkbuild-doc doc-img $(PATH_DOC_OUTPUT)/%.pdf: $(doc_src) $(doc_imgs) | mkbuild-doc doc-img
TEXINPUTS="$(PATH_DOC):" \ TEXINPUTS="$(PATH_DOC):" \
pdftex -output-directory "${PATH_DOC}" "${PATH_MANUAL_TEXI}" && \ pdftex -output-directory "${PATH_DOC}" "${PATH_MANUAL_TEXI}" && \
TEXINPUTS="$(PATH_DOC):" \ TEXINPUTS="$(PATH_DOC):" \
@ -100,7 +100,7 @@ $(PATH_DOC_OUTPUT_HTML1): $(doc_src) | $(PATH_DOC_OUTPUT)/img mkbuild-doc doc-im
-I "$(PATH_DOC)" -o "${PATH_DOC_OUTPUT_HTML1}" "${PATH_MANUAL_TEXI}"; -I "$(PATH_DOC)" -o "${PATH_DOC_OUTPUT_HTML1}" "${PATH_MANUAL_TEXI}";
# doc images (in build dir) # doc images (in build dir)
$(PATH_DOC_OUTPUT)/img: | mkbuild-doc doc-img $(PATH_DOC_OUTPUT)/img: $(doc_imgs) | mkbuild-doc doc-img
mkdir -p $@ mkdir -p $@
cp "$(PATH_DOC_IMG)"/*.png $@ cp "$(PATH_DOC_IMG)"/*.png $@
$(PATH_DOC_OUTPUT_HTML)/img: $(PATH_DOC_OUTPUT)/img $(PATH_DOC_OUTPUT_HTML)/img: $(PATH_DOC_OUTPUT)/img