1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
# extra makefile commands to create documentation files by extracting
# documentation from the emacspeak source code
docs: emacspeak.html emacspeak.info
emacspeak.html: emacspeak-main.texinfo
texi2html -monolithic emacspeak.texinfo
# only emacspeak.info is named here, but this actually creates 4 files:
# emacspeak.info emacspeak.info-1 emacspeak.info-2 emacspeak.info-3
emacspeak.info: emacspeak.texinfo emacspeak-main.texinfo
makeinfo emacspeak.texinfo
# only emacspeak-main.texinfo is named here, but actually this command
# generates 22 .texinfo files by extracting the comments from "all.el",
# which is all of the elisp files concatenated.
emacspeak-main.texinfo: all.el debian/explain
debian/explain all.el >all.log
all.el: $(ELISP)
cat $(ELISP) | sed \
-e 's/\\\\\[dtk-emergency-restart\]/@samp{M-x dtk-emergency-restart}/' \
-e 's/\\\\\[dtk-initialize\]/@samp{M-x dtk-initialize}/' \
-e 's/\\\\\[keyboard-quit\]/@samp{C-g}/' \
-e 's/\\\\\[yank\]/@samp{C-y}/' \
-e 's/\\\\\[yank-pop\]/@samp{ESC y}/' \
-e 's/\\\\\[voice-lock-voiceify-buffer\]/@samp{M-x voice-lock-voiceify-buffer}/' \
> all.el
debclean:
-rm all.el all.log *.info* *.html \
`ls *.texinfo|grep -v emacspeak.texinfo`
|