X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=Documentation%2FGNUmakefile;h=a7306c85242531467eb64e75bf6b1e0f1398987c;hb=5fb7bb9dc69cb508cf5d737a4359048237ea5984;hp=b6e67c58bc23c0133217330c04a9d17e19170fb9;hpb=4fabc68182cab7149d2a4b52502e180f57199831;p=lilypond.git diff --git a/Documentation/GNUmakefile b/Documentation/GNUmakefile index b6e67c58bc..a7306c8524 100644 --- a/Documentation/GNUmakefile +++ b/Documentation/GNUmakefile @@ -1,20 +1,29 @@ -# Documentation/Makefile - depth = .. NAME = documentation -SUBDIRS=man tex pictures topdocs ntweb -STEPMAKE_TEMPLATES=documentation -README_TOP_FILES=NEWS DEDICATION TODO ANNOUNCE-0.1 AIMS -INFO_FILES = $(wildcard $(outdir)/$(package).info*) +SUBDIRS=user bibliography pictures topdocs misc +STEPMAKE_TEMPLATES=documentation texinfo tex +LOCALSTEPMAKE_TEMPLATES=lilypond ly +LILYPOND_BOOK_FLAGS=--extra-options '-e "(ly:set-option (quote internal-type-checking) \#t)"' +README_TOP_FILES= DEDICATION THANKS ChangeLog +EXTRA_DIST_FILES= texinfo.css + +include $(depth)/make/stepmake.make +default: local-doc +local-WWW: copy-for-me txt-to-html $(outdir)/index.html -BLURBS=BLURB COPERTINA FLAPTEKST +local-WWW-clean: deep-WWW-clean -include $(depth)/make/stepmake.make +deep-WWW-clean: + rm -rf $(outdir)/wiki-dump -default: do-doc +copy-for-me: + $(foreach a, $(README_TOP_FILES), cp ../$(a) $(outdir)/$(a).txt && ) true -info: $(outdir)/$(package).info +OUT_TXT_FILES = $(addprefix $(outdir)/, $(addsuffix .txt, $(README_TOP_FILES))) +# cd $(outdir) rule gets bit hairy for --srcdir configure builds +txt-to-html: + $(PYTHON) $(step-bindir)/text2html.py $(OUT_TXT_FILES)