Makefile 740 Bytes
Newer Older
1
2
TOP = ../..
include $(TOP)/mk/boilerplate.mk
3

sof's avatar
sof committed
4
5
6
ifeq "$(BIN_DIST)" "1"
install :: html dvi info
endif
7

8
9
SGML_DOC = users_guide

sof's avatar
sof committed
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Generating index is semi-automatic, you need to:
# 
#    make users_guide.dvi ; make index ; make users_guide.dvi
# 
# To work, it depends on you tweaking
#
#      lib/sgml-tools/dist/sgmltool/latex2e/mapping
#
# to instead of saying
#
# </article>      +       "\\end{document}"       +
#
# say 
#
# </article>      +       "\\InputIfFileExists{index}{}{}"
#                         "\\end{document}"       +
# 
# That partially works around the problem, if nothing else.
# 
index : users_guide.dvi
	makeindex users_guide
	@$(RM) $@
	$(CP) users_guide.ind $@
	$(RM) users_guide.dvi


36
include $(TOP)/mk/target.mk