Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added PDF target for documentation #42

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
13 changes: 11 additions & 2 deletions Makefile
Expand Up @@ -26,13 +26,15 @@ ELISP_OBJ := $(patsubst %.el,%.elc,${ELISP_SRC})
DOC_SRC := doc/distel.texi DOC_SRC := doc/distel.texi
INFO_OBJ := doc/distel.info INFO_OBJ := doc/distel.info
PS_OBJ := doc/distel.ps PS_OBJ := doc/distel.ps
PDF_OBJ := doc/distel.pdf doc/dbg.pdf


OBJECTS := ${ERL_OBJ} ${ELISP_OBJ} ${C_OBJ} ${INFO_OBJ} ${PS_OBJ} OBJECTS := ${ERL_OBJ} ${ELISP_OBJ} ${C_OBJ} ${INFO_OBJ} ${PS_OBJ} ${PDF_OBJ}


base: ebin ${ERL_OBJ} ${ELISP_OBJ} ${C_OBJ} base: ebin ${ERL_OBJ} ${ELISP_OBJ} ${C_OBJ}
info: ${INFO_OBJ} info: ${INFO_OBJ}
postscript: ${PS_OBJ} postscript: ${PS_OBJ}
all: base info postscript pdf: ${PDF_OBJ}
all: base info postscript pdf
ebin: ebin:
mkdir ebin mkdir ebin


Expand Down Expand Up @@ -60,12 +62,19 @@ doc/distel.ps: doc/distel.dvi
doc/distel.dvi: ${DOC_SRC} doc/distel.dvi: ${DOC_SRC}
(cd doc; texi2dvi distel.texi) (cd doc; texi2dvi distel.texi)


doc/dbg.pdf: doc/dbg.eps
(cd doc && epspdf dbg.eps)

doc/distel.pdf: doc/distel.texi doc/dbg.pdf
(cd doc && texi2pdf distel.texi)

######################################## ########################################


clean: clean:
-rm -f ${OBJECTS} 2>/dev/null -rm -f ${OBJECTS} 2>/dev/null


distclean: clean distclean: clean
-(cd doc && rm -f *.aux *.cp *.fn *.ky *.log *.pg *.toc *.tp *.vr)
-rm -f *~ */*~ 2>/dev/null -rm -f *~ */*~ 2>/dev/null


install: base install: base
Expand Down