X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fdocs%2Fusers_guide%2FMakefile;h=81b4412f3079a5be240d9767cb71bed1558066c7;hb=2e160a48acce946bc2c94dc433e7cc50f5d725f8;hp=cfefcb96cfaf8d8ca1fa439944ef9c293f5bff8c;hpb=abdd55c9c4a2873c2f4b25b4ea54ca921bca4f5e;p=ghc-hetmet.git diff --git a/ghc/docs/users_guide/Makefile b/ghc/docs/users_guide/Makefile index cfefcb9..81b4412 100644 --- a/ghc/docs/users_guide/Makefile +++ b/ghc/docs/users_guide/Makefile @@ -1,43 +1,33 @@ TOP = ../.. include $(TOP)/mk/boilerplate.mk -ifeq "$(BIN_DIST)" "1" -install :: html dvi info -endif - -# These files are just concatenated to produce the complete document, in the -# same order as they are given below. - -SGML_SRCS = \ - user.sgml \ - intro.sgml \ - using.sgml \ - runtime_control.sgml \ - profiling.sgml \ - debugging.sgml \ - sooner.sgml \ - lang.sgml \ - glasgow_exts.sgml \ - parallel.sgml \ - vs_haskell.sgml \ - libraries.sgml \ - posix.sgml \ - libmisc.sgml \ - gone_wrong.sgml \ - utils.sgml \ - end.sgml +SGML_DOC = users_guide +INSTALL_SGML_DOC = users_guide -# release.sgml \ -# 3-00-notes.sgml \ -# 2-10-notes.sgml \ -# 2-09-notes.sgml \ -# 2-08-notes.sgml \ -# 2-06-notes.sgml \ -# 2-04-notes.sgml \ -# 2-03-notes.sgml \ -# 2-02-notes.sgml \ -# how_to_run.sgml \ +# 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 +# +# + "\\end{document}" + +# +# say +# +# + "\\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 -SGML_DOC = users_guide include $(TOP)/mk/target.mk