X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=doc%2Fmanual%2FMakefile;h=6e1e2015fb43408bdc705145ff24a6cca7f70f5f;hb=b93f08e862504964f907b745e80cba816e77ac03;hp=93f0be5cb5a13876df6faac5c4ee832a5b482444;hpb=b194e5262c0ca11756bc01ea4427aad465dbcaa0;p=sbcl.git diff --git a/doc/manual/Makefile b/doc/manual/Makefile index 93f0be5..6e1e201 100644 --- a/doc/manual/Makefile +++ b/doc/manual/Makefile @@ -12,8 +12,11 @@ HTMLDIR=$(basename $(ROOTFILE)) # DOCSTRINGDIR has to end with a slash or you lose (it's passed to # Lisp's `pathname' function). DOCSTRINGDIR="docstrings/" -# List of package names that documentation will be created for. -PACKAGES=":COMMON-LISP :SB-ALIEN :SB-DEBUG :SB-EXT :SB-GRAY :SB-MOP :SB-PROFILE :SB-THREAD" +# List of contrib modules that docstring docs will be created for. +# FIXME: should check test-passed and not load them. +MODULES=':sb-md5 :sb-rotate-byte' +# List of package names that docstring docs will be created for. +PACKAGES=":COMMON-LISP :SB-ALIEN :SB-DEBUG :SB-EXT :SB-GRAY :SB-MOP :SB-PROFILE :SB-THREAD :SB-MD5 :SB-ROTATE-BYTE" ifeq ($(MAKEINFO),) @@ -69,22 +72,25 @@ info: $(INFOFILE) $(INFOFILE): $(DOCFILES) docstrings $(MAKEINFO) -I $(DOCSTRINGDIR) $(ROOTFILE) -# Texinfo docstring snippets; output hardcoded in docstrings/ for now. -.PHONY: docstrings -docstrings: docstrings-stamp +# contrib-modules.texinfo includes contrib-doc-list.texi-temp +contrib-modules.texinfo: tempfiles-stamp -docstrings-stamp: - DOCSTRINGDIR=$(DOCSTRINGDIR) sh docstrings.sh - touch docstrings-stamp +# Texinfo docstring snippets +.PHONY: docstrings +docstrings: tempfiles-stamp +tempfiles-stamp: + DOCSTRINGDIR=$(DOCSTRINGDIR) PACKAGES=$(PACKAGES) MODULES=$(MODULES) sh make-tempfiles.sh + touch tempfiles-stamp .PHONY: clean clean: rm -f *~ *.bak *.orig \#*\# .\#* texput.log *.fasl rm -rf $(HTMLDIR) $(DOCSTRINGDIR) - rm -f $(PSFILE) $(PDFFILE) $(DVIFILE) html-stamp docstrings-stamp - rm -f $(TMPFILES) + rm -f contrib-docs.texi-temp + rm -f $(PSFILE) $(PDFFILE) $(DVIFILE) html-stamp tempfiles-stamp + rm -f $(TMPFILES) contrib-doc-list.texi-temp rm -f sbcl.info sbcl.info-* .PHONY: distclean