include Doxyfile
HTML_OUTPUT_SJIS = $(HTML_OUTPUT)_SJIS
$(OUTPUT_DIRECTORY) :
doxygen
pdf : $(OUTPUT_DIRECTORY)
cd $(OUTPUT_DIRECTORY)/$(LATEX_OUTPUT) ; \
make ; \
dvipdfmx *.dvi
chm : $(OUTPUT_DIRECTORY)
cd $(OUTPUT_DIRECTORY); \
if [ ! -e $(HTML_OUTPUT_SJIS) ]; \
then mkdir $(HTML_OUTPUT_SJIS); \
fi;
cd $(OUTPUT_DIRECTORY)/$(HTML_OUTPUT); \
for f in `find . ! \( -name "*.html" -o -name "*.hhc" -o -name "*.hhp" \)`; \
do cp $$f ../$(HTML_OUTPUT_SJIS)/; \
done; \
for f in `find . \( -name "*.html" -o -name "*.hhc" -o -name "*.hhp" \)`; \
do nkf -s $$f | sed 's/charset=euc-jp/charset=Shift_JIS/g' > ../$(HTML_OUTPUT_SJIS)/$$f; \
done;
cd $(OUTPUT_DIRECTORY)/$(HTML_OUTPUT_SJIS); \
$(HHC_LOCATION) index.hhp
.PHONY : pdf chm